Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009202, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00863/0.00863, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 6.281 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.06614/0.4024, allocations: 64.98 MB / 1.138 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02467/0.4271, allocations: 16.65 MB / 1.154 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.4303, allocations: 55.62 kB / 1.154 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002664/0.433, allocations: 0.6527 MB / 1.155 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007779/0.4408, allocations: 2.353 MB / 1.157 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.4461, allocations: 1.625 MB / 1.158 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.05353/0.4996, allocations: 45.59 MB / 1.203 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02082/0.5205, allocations: 12.19 MB / 1.215 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01982/0.5403, allocations: 8.389 MB / 1.223 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01955/0.5599, allocations: 8.823 MB / 1.232 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003556/0.5635, allocations: 460 kB / 1.232 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.5756, allocations: 2.004 MB / 1.234 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0071/0.5827, allocations: 2.096 MB / 1.236 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01572/0.5985, allocations: 5.999 MB / 1.242 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6807/1.279, allocations: 20.52 MB / 1.262 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/1.279, allocations: 0.6562 kB / 1.262 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.298e-06/1.279, allocations: 0 / 1.262 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0008719/1.28, allocations: 0.8125 kB / 1.262 GB, free: 65.33 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.03414/1.314, allocations: 10.49 MB / 1.272 GB, free: 61.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.314, allocations: 9.312 kB / 1.272 GB, free: 61.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009508/1.324, allocations: 1.286 MB / 1.274 GB, free: 60.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02737/1.351, allocations: 13.37 MB / 1.287 GB, free: 58.76 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005263/1.352, allocations: 0.5229 MB / 1.287 GB, free: 58.74 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003139/1.355, allocations: 0.7218 MB / 1.288 GB, free: 58.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/1.386, allocations: 11.19 MB / 1.299 GB, free: 57.77 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.387, allocations: 33.75 kB / 1.299 GB, free: 57.76 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/1.388, allocations: 305.6 kB / 1.299 GB, free: 57.76 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/1.388, allocations: 219.9 kB / 1.299 GB, free: 57.76 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/1.41, allocations: 9.26 MB / 1.308 GB, free: 57.69 MB / 0.9981 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.07627/1.486, allocations: 51.26 MB / 1.358 GB, free: 22.65 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007524/1.494, allocations: 4.855 MB / 1.363 GB, free: 20.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/1.498, allocations: 2.828 MB / 1.366 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.499, allocations: 1.729 MB / 1.368 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.191e-05/1.499, allocations: 93.52 kB / 1.368 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=420): time 6.733e-06/1.499, allocations: 0 / 1.368 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=420): time 0.01318/1.512, allocations: 7.833 MB / 1.375 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/1.513, allocations: 99.02 kB / 1.375 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/1.529, allocations: 9.982 MB / 1.385 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001632/1.531, allocations: 109.7 kB / 1.385 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003872/1.535, allocations: 4.717 MB / 1.39 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002895/1.538, allocations: 1.49 MB / 1.391 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/1.539, allocations: 449.6 kB / 1.392 GB, free: 14.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/1.539, allocations: 301.1 kB / 1.392 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006283/1.545, allocations: 2.628 MB / 1.395 GB, free: 11.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007542/1.553, allocations: 4.168 MB / 1.399 GB, free: 7.117 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.565, allocations: 7.389 MB / 1.406 GB, free: 15.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-05/1.565, allocations: 12 kB / 1.406 GB, free: 15.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01676/1.582, allocations: 7.923 MB / 1.414 GB, free: 7.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.001095/1.583, allocations: 1.501 MB / 1.415 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/1.583, allocations: 75.91 kB / 1.415 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.421e-05/1.583, allocations: 80 kB / 1.415 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.588, allocations: 1.209 MB / 1.416 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.236e-05/1.588, allocations: 102.5 kB / 1.416 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008832/1.597, allocations: 1.021 MB / 1.417 GB, free: 3.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009353/1.598, allocations: 283.9 kB / 1.418 GB, free: 2.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.598, allocations: 6.625 kB / 1.418 GB, free: 2.781 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/1.611, allocations: 7.151 MB / 1.425 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/1.611, allocations: 75.97 kB / 1.425 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.898e-05/1.611, allocations: 72 kB / 1.425 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004341/1.615, allocations: 1.209 MB / 1.426 GB, free: 10.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.421e-05/1.615, allocations: 105.2 kB / 1.426 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008715/1.624, allocations: 0.9472 MB / 1.427 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008765/1.625, allocations: 283.9 kB / 1.427 GB, free: 9.336 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 0.008534/1.634, allocations: 4.114 MB / 1.431 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002973/1.637, allocations: 0.8451 MB / 1.432 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.655, allocations: 8.927 MB / 1.441 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.624e-05/1.655, allocations: 79.94 kB / 1.441 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.655, allocations: 2.734 kB / 1.441 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01113/1.666, allocations: 6.12 MB / 1.447 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04648/1.713, allocations: 20.1 MB / 1.467 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001084/1.713, allocations: 43.97 kB / 1.467 GB, free: 1.039 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003995/1.717, allocations: 0.9409 MB / 1.468 GB, free: 152 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.443e-05/1.717, allocations: 32 kB / 1.468 GB, free: 120 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/1.717, allocations: 192.2 kB / 1.468 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.864e-05/1.717, allocations: 42.36 kB / 1.468 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/1.718, allocations: 24.59 kB / 1.468 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01994/1.737, allocations: 11.64 MB / 1.479 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007698/1.745, allocations: 2.459 MB / 1.482 GB, free: 1.352 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003285/1.749, allocations: 144 kB / 1.482 GB, free: 1.211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009342/1.758, allocations: 0.7003 MB / 1.482 GB, free: 0.5195 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001716/1.76, allocations: 0.5198 MB / 1.483 GB, free: 8 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/1.761, allocations: 270.5 kB / 1.483 GB, free: 15.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.01844/1.779, allocations: 7.853 MB / 1.491 GB, free: 7.918 MB / 1.107 GB Notification: Performance of sort global known variables: time 4.31e-07/1.779, allocations: 0 / 1.491 GB, free: 7.918 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.02302/1.802, allocations: 4.857 MB / 1.496 GB, free: 3.051 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 59 * Number of states: 42 (pip.pipSeg[1].del.x,pip.pipSeg[1].timDel.x,pip.pipSeg[1].vol_b.dynBal.U,pip.pipSeg[1].vol_a.dynBal.U,pip.pipSeg[2].del.x,pip.pipSeg[2].timDel.x,pip.pipSeg[2].vol_b.dynBal.U,pip.pipSeg[2].vol_a.dynBal.U,pip.pipSeg[3].del.x,pip.pipSeg[3].timDel.x,pip.pipSeg[3].vol_b.dynBal.U,pip.pipSeg[3].vol_a.dynBal.U,pip.pipSeg[4].del.x,pip.pipSeg[4].timDel.x,pip.pipSeg[4].vol_b.dynBal.U,pip.pipSeg[4].vol_a.dynBal.U,pip.pipSeg[5].del.x,pip.pipSeg[5].timDel.x,pip.pipSeg[5].vol_b.dynBal.U,pip.pipSeg[5].vol_a.dynBal.U,pip.pipSeg[6].del.x,pip.pipSeg[6].timDel.x,pip.pipSeg[6].vol_b.dynBal.U,pip.pipSeg[6].vol_a.dynBal.U,pip.pipSeg[7].del.x,pip.pipSeg[7].timDel.x,pip.pipSeg[7].vol_b.dynBal.U,pip.pipSeg[7].vol_a.dynBal.U,pip.pipSeg[8].del.x,pip.pipSeg[8].timDel.x,pip.pipSeg[8].vol_b.dynBal.U,pip.pipSeg[8].vol_a.dynBal.U,pip.pipSeg[9].del.x,pip.pipSeg[9].timDel.x,pip.pipSeg[9].vol_b.dynBal.U,pip.pipSeg[9].vol_a.dynBal.U,pip.pipSeg[10].del.x,pip.pipSeg[10].timDel.x,pip.pipSeg[10].vol_b.dynBal.U,pip.pipSeg[10].vol_a.dynBal.U,senTemOut.T,senTemIn.T) * 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 (536): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 86 * 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.002644/1.805, allocations: 0.7774 MB / 1.496 GB, free: 2.371 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01851/1.823, allocations: 11.24 MB / 1.507 GB, free: 7.207 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/1.823, allocations: 8.562 kB / 1.507 GB, free: 7.199 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01043/1.834, allocations: 6.924 MB / 1.514 GB, free: 280 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05884/1.893, allocations: 5.804 MB / 1.52 GB, free: 10.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.051/1.944, allocations: 28.33 MB / 1.547 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01005/1.954, allocations: 7.398 MB / 1.555 GB, free: 6.672 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.02053/1.974, allocations: 5.904 MB / 1.56 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003975/1.978, allocations: 0.8415 MB / 1.561 GB, free: 96 kB / 1.17 GB Notification: Performance of SimCode: time 1.122e-06/1.978, allocations: 0 / 1.561 GB, free: 96 kB / 1.17 GB Notification: Performance of Templates: time 0.9227/2.901, allocations: 204.8 MB / 1.761 GB, free: 498.7 MB / 1.357 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.pipe 2>&1)