Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 112.5 kB / 15.99 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 192 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.8 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 0.5492 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 71.5 kB / 0.6716 GB, free: 6.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2419, allocations: 114.6 MB / 0.7835 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4446/0.6866, allocations: 14.98 MB / 0.7981 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.6917, allocations: 3.813 MB / 0.8019 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.6924, allocations: 17.91 kB / 0.8019 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.6932, allocations: 158.2 kB / 0.802 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.6952, allocations: 0.6294 MB / 0.8026 GB, free: 39.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.6965, allocations: 438.9 kB / 0.8031 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001633/0.6982, allocations: 1.08 MB / 0.8041 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.6987, allocations: 281.9 kB / 0.8044 GB, free: 38.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.6994, allocations: 412.1 kB / 0.8048 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.6998, allocations: 270.6 kB / 0.805 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.6998, allocations: 23.59 kB / 0.8051 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.7013, allocations: 0.7158 MB / 0.8058 GB, free: 38.04 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.7014, allocations: 75.64 kB / 0.8058 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.7017, allocations: 188.3 kB / 0.806 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.7028, allocations: 0.5068 MB / 0.8065 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7028, allocations: 0 / 0.8065 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7028, allocations: 1.875 kB / 0.8065 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7028, allocations: 0.5625 kB / 0.8065 GB, free: 37.73 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00125/0.7041, allocations: 0.7528 MB / 0.8072 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7041, allocations: 8.969 kB / 0.8072 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.7042, allocations: 41.84 kB / 0.8073 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009027/0.7051, allocations: 0.4984 MB / 0.8078 GB, free: 36.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7052, allocations: 12.67 kB / 0.8078 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.7052, allocations: 16.12 kB / 0.8078 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.7057, allocations: 184.1 kB / 0.808 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.7057, allocations: 0 / 0.808 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.7057, allocations: 5.281 kB / 0.808 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.7057, allocations: 3.812 kB / 0.808 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.7061, allocations: 138 kB / 0.8081 GB, free: 36.61 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.7073, allocations: 0.8606 MB / 0.809 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.7077, allocations: 117.1 kB / 0.8091 GB, free: 35.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.7079, allocations: 70.2 kB / 0.8091 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.7082, allocations: 342.9 kB / 0.8095 GB, free: 35.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7082, allocations: 32.75 kB / 0.8095 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.7082, allocations: 0 / 0.8095 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0006285/0.7088, allocations: 227.4 kB / 0.8097 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.7089, allocations: 54.53 kB / 0.8098 GB, free: 35.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.7093, allocations: 345.3 kB / 0.8101 GB, free: 35.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.7094, allocations: 32.02 kB / 0.8101 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7095, allocations: 191.5 kB / 0.8103 GB, free: 34.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.7096, allocations: 47.73 kB / 0.8103 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.7096, allocations: 33.7 kB / 0.8104 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.7097, allocations: 341 kB / 0.8107 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7099, allocations: 51.05 kB / 0.8108 GB, free: 34.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.7101, allocations: 90.94 kB / 0.8108 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.7104, allocations: 118.8 kB / 0.811 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7104, allocations: 0 / 0.811 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003859/0.7108, allocations: 175.3 kB / 0.8111 GB, free: 34.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7108, allocations: 13.34 kB / 0.8111 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7108, allocations: 0 / 0.8111 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7108, allocations: 1.031 kB / 0.8111 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.711, allocations: 26.69 kB / 0.8112 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.711, allocations: 10.75 kB / 0.8112 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.7113, allocations: 24.39 kB / 0.8112 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.7113, allocations: 13.14 kB / 0.8112 GB, free: 34.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002194/0.7116, allocations: 155.1 kB / 0.8114 GB, free: 34.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001571/0.7117, allocations: 83.7 kB / 0.8114 GB, free: 34.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000258/0.712, allocations: 114.5 kB / 0.8115 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.712, allocations: 4 kB / 0.8115 GB, free: 34.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003525/0.7124, allocations: 167.6 kB / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.7124, allocations: 6.688 kB / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-06/0.7124, allocations: 0 / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.85e-06/0.7124, allocations: 5.766 kB / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.7125, allocations: 26.97 kB / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.7125, allocations: 1.375 kB / 0.8117 GB, free: 34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.7128, allocations: 28.95 kB / 0.8118 GB, free: 33.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.7128, allocations: 4.562 kB / 0.8118 GB, free: 33.99 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.144e-05/0.7129, allocations: 197.8 kB / 0.812 GB, free: 33.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.713, allocations: 39.41 kB / 0.812 GB, free: 33.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.7135, allocations: 225.5 kB / 0.8122 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.7136, allocations: 4.828 kB / 0.8122 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7136, allocations: 2.562 kB / 0.8122 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7136, allocations: 3.641 kB / 0.8122 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009886/0.7146, allocations: 0.6341 MB / 0.8129 GB, free: 33.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7146, allocations: 5.844 kB / 0.8129 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.7147, allocations: 24.41 kB / 0.8129 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.7147, allocations: 5.438 kB / 0.8129 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.7148, allocations: 2.984 kB / 0.8129 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.7148, allocations: 1.531 kB / 0.8129 GB, free: 33.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7148, allocations: 5.609 kB / 0.8129 GB, free: 33.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.7152, allocations: 316.1 kB / 0.8132 GB, free: 33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.7153, allocations: 127.9 kB / 0.8133 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.7154, allocations: 2.312 kB / 0.8133 GB, free: 32.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.7156, allocations: 26.72 kB / 0.8133 GB, free: 32.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.7157, allocations: 9.531 kB / 0.8134 GB, free: 32.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.7157, allocations: 9.516 kB / 0.8134 GB, free: 32.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002822/0.716, allocations: 250.7 kB / 0.8136 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.51e-07/0.716, allocations: 0 / 0.8136 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008135/0.7168, allocations: 192.9 kB / 0.8138 GB, free: 32.69 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000659/0.7175, allocations: 247.5 kB / 0.814 GB, free: 32.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006054/0.7181, allocations: 199.9 kB / 0.8142 GB, free: 32.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7181, allocations: 0 / 0.8142 GB, free: 32.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7183, allocations: 79.3 kB / 0.8143 GB, free: 32.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/0.7192, allocations: 150.8 kB / 0.8144 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009948/0.7202, allocations: 0.7011 MB / 0.8151 GB, free: 31.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.7205, allocations: 0.7936 MB / 0.8159 GB, free: 31.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.7206, allocations: 29.73 kB / 0.8159 GB, free: 31.24 MB / 0.6544 GB Notification: Performance of SimCode: time 9.12e-07/0.7206, allocations: 0 / 0.8159 GB, free: 31.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01406/0.7347, allocations: 5.766 MB / 0.8216 GB, free: 30.75 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)