Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.668/4.668, allocations: 0.5623 GB / 0.577 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002368/0.002368, allocations: 354.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.855/3.855, allocations: 410.7 MB / 1.112 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001771/0.001771, allocations: 187.8 kB / 1.225 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5757, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.03742/0.6131, allocations: 41.18 MB / 1.501 GB, free: 243.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.6287, allocations: 12.08 MB / 1.513 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.6303, allocations: 39.75 kB / 1.513 GB, free: 231.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.6317, allocations: 470.7 kB / 1.513 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.6371, allocations: 1.905 MB / 1.515 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004022/0.6412, allocations: 1.213 MB / 1.516 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.6451, allocations: 3.652 MB / 1.52 GB, free: 224 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.6463, allocations: 0.7506 MB / 1.521 GB, free: 223.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.6483, allocations: 1.047 MB / 1.522 GB, free: 222.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.6494, allocations: 0.8437 MB / 1.522 GB, free: 221.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.6495, allocations: 48 kB / 1.522 GB, free: 221.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.6519, allocations: 0.9508 MB / 1.523 GB, free: 220.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.6522, allocations: 215 kB / 1.524 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002828/0.6525, allocations: 269.7 kB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.6543, allocations: 1.695 MB / 1.526 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6543, allocations: 1.219 kB / 1.526 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.413e-06/0.6543, allocations: 0 / 1.526 GB, free: 218.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.6544, allocations: 0 / 1.526 GB, free: 218.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002715/0.6571, allocations: 1.45 MB / 1.527 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6572, allocations: 12.28 kB / 1.527 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003298/0.6575, allocations: 134.9 kB / 1.527 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.6601, allocations: 1.159 MB / 1.528 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.6602, allocations: 54 kB / 1.528 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.6603, allocations: 66.27 kB / 1.528 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6618, allocations: 0.7623 MB / 1.529 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.6619, allocations: 0 / 1.529 GB, free: 214.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.662, allocations: 32.75 kB / 1.529 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.662, allocations: 16.69 kB / 1.529 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.6633, allocations: 0.5693 MB / 1.53 GB, free: 213.8 MB / 0.8542 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.005257/0.6686, allocations: 4.014 MB / 1.534 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.6697, allocations: 478.9 kB / 1.534 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.6702, allocations: 226.1 kB / 1.534 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.6713, allocations: 1.521 MB / 1.536 GB, free: 207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6713, allocations: 41.42 kB / 1.536 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.982e-06/0.6713, allocations: 0 / 1.536 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46): time 0.001631/0.673, allocations: 0.6771 MB / 1.536 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.673, allocations: 58.47 kB / 1.536 GB, free: 206.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.6746, allocations: 0.9982 MB / 1.537 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.6747, allocations: 33.7 kB / 1.537 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.6751, allocations: 488.5 kB / 1.538 GB, free: 204.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.6752, allocations: 161.6 kB / 1.538 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.6753, allocations: 12 kB / 1.538 GB, free: 204.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.6753, allocations: 333.7 kB / 1.538 GB, free: 204.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.6758, allocations: 181 kB / 1.539 GB, free: 204 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.6763, allocations: 325 kB / 1.539 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.6769, allocations: 235.7 kB / 1.539 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.946e-06/0.6769, allocations: 0 / 1.539 GB, free: 203.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001431/0.6783, allocations: 0.651 MB / 1.54 GB, free: 202.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.6784, allocations: 199.2 kB / 1.54 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.6785, allocations: 4 kB / 1.54 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6785, allocations: 8 kB / 1.54 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.6791, allocations: 128.9 kB / 1.54 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6791, allocations: 4.062 kB / 1.54 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.68, allocations: 99.16 kB / 1.54 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.6801, allocations: 31.98 kB / 1.54 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.323e-06/0.6801, allocations: 4 kB / 1.54 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/0.6813, allocations: 0.5373 MB / 1.541 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.6814, allocations: 8.062 kB / 1.541 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.888e-06/0.6814, allocations: 8 kB / 1.541 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.682, allocations: 127.9 kB / 1.541 GB, free: 201.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.682, allocations: 7.938 kB / 1.541 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.6829, allocations: 91.3 kB / 1.541 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.6829, allocations: 31.98 kB / 1.541 GB, free: 201.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.6834, allocations: 344.9 kB / 1.541 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.6836, allocations: 102.7 kB / 1.541 GB, free: 201 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6857, allocations: 0.9793 MB / 1.542 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.6857, allocations: 10.09 kB / 1.542 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.177e-06/0.6858, allocations: 7.938 kB / 1.542 GB, free: 200 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001213/0.687, allocations: 0.8531 MB / 1.543 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003943/0.691, allocations: 2.019 MB / 1.545 GB, free: 197 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.691, allocations: 12.17 kB / 1.545 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.6916, allocations: 99.88 kB / 1.545 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.6916, allocations: 4 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.6917, allocations: 23.98 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.577e-06/0.6917, allocations: 4 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.094e-06/0.6917, allocations: 4 kB / 1.545 GB, free: 196.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.694, allocations: 1.206 MB / 1.547 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.6946, allocations: 315.2 kB / 1.547 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.6948, allocations: 12 kB / 1.547 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.6957, allocations: 47.95 kB / 1.547 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.6958, allocations: 56.44 kB / 1.547 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.6959, allocations: 27.98 kB / 1.547 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001298/0.6972, allocations: 0.7148 MB / 1.548 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.63e-07/0.6972, allocations: 0 / 1.548 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001891/0.6991, allocations: 0.5968 MB / 1.548 GB, free: 193.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009967/0.7001, allocations: 0.4895 MB / 1.549 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.7019, allocations: 0.9425 MB / 1.55 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.956e-06/0.7019, allocations: 0 / 1.55 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.7026, allocations: 406.4 kB / 1.55 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.7057, allocations: 0.5869 MB / 1.551 GB, free: 191.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.7092, allocations: 2.48 MB / 1.553 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.7098, allocations: 1.085 MB / 1.554 GB, free: 187.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001323/0.7111, allocations: 283.9 kB / 1.554 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.7114, allocations: 107.4 kB / 1.554 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.599e-06/0.7114, allocations: 0 / 1.554 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.04844/0.7598, allocations: 24.74 MB / 1.579 GB, free: 163.2 MB / 0.8542 GB