Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009875, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.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.68/1.68, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005332/0.0005333, allocations: 14.59 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6166/0.8626, allocations: 146.7 MB / 0.9305 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.865, allocations: 1.591 MB / 0.932 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.8653, allocations: 10.81 kB / 0.9321 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.8658, allocations: 107.6 kB / 0.9322 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.8669, allocations: 383.8 kB / 0.9325 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.8678, allocations: 359.7 kB / 0.9329 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.8686, allocations: 0.6549 MB / 0.9335 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002579/0.8689, allocations: 127.3 kB / 0.9336 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.8694, allocations: 271.3 kB / 0.9339 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.8696, allocations: 150.8 kB / 0.934 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.8696, allocations: 7.875 kB / 0.934 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008932/0.8705, allocations: 0.5244 MB / 0.9345 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.8706, allocations: 69.08 kB / 0.9346 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.8709, allocations: 69.52 kB / 0.9347 GB, free: 21.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.8713, allocations: 328.7 kB / 0.935 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.8714, allocations: 6.875 kB / 0.935 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8714, allocations: 0 / 0.935 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8714, allocations: 0 / 0.935 GB, free: 21.39 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006886/0.8721, allocations: 0.5438 MB / 0.9355 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8721, allocations: 11.5 kB / 0.9355 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.8724, allocations: 51.62 kB / 0.9356 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.8728, allocations: 287.4 kB / 0.9359 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.8728, allocations: 11.31 kB / 0.9359 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.8728, allocations: 16.41 kB / 0.9359 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.8732, allocations: 189.3 kB / 0.9361 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8732, allocations: 3.938 kB / 0.9361 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.8732, allocations: 6.75 kB / 0.9361 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8732, allocations: 5.562 kB / 0.9361 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.8735, allocations: 138.6 kB / 0.9362 GB, free: 20.64 MB / 0.7325 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.0009072/0.8744, allocations: 0.7963 MB / 0.937 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.8746, allocations: 84.14 kB / 0.9371 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.8748, allocations: 81.3 kB / 0.9372 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.8751, allocations: 190.5 kB / 0.9373 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.8751, allocations: 33.09 kB / 0.9374 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.8751, allocations: 3.188 kB / 0.9374 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005861/0.8757, allocations: 231.1 kB / 0.9376 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8758, allocations: 54.28 kB / 0.9376 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.876, allocations: 268.3 kB / 0.9379 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.876, allocations: 30.64 kB / 0.9379 GB, free: 19.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.63e-05/0.8761, allocations: 154.3 kB / 0.9381 GB, free: 19.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.8762, allocations: 33.16 kB / 0.9381 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.8762, allocations: 0 / 0.9381 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.8764, allocations: 337.2 kB / 0.9384 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.8765, allocations: 40.69 kB / 0.9385 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.8766, allocations: 102.1 kB / 0.9386 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.8768, allocations: 54.98 kB / 0.9386 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8768, allocations: 0 / 0.9386 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002848/0.8771, allocations: 165.2 kB / 0.9388 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.8771, allocations: 120.6 kB / 0.9389 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.8771, allocations: 3.125 kB / 0.9389 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.8772, allocations: 0.5625 kB / 0.9389 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.8773, allocations: 28.48 kB / 0.9389 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8773, allocations: 1.562 kB / 0.9389 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.8775, allocations: 27.42 kB / 0.939 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.8775, allocations: 10.73 kB / 0.939 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.8775, allocations: 6.656 kB / 0.939 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002632/0.8778, allocations: 118.5 kB / 0.9391 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.8778, allocations: 1.562 kB / 0.9391 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.8778, allocations: 5 kB / 0.9391 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.8779, allocations: 26.67 kB / 0.9391 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.8779, allocations: 0.9688 kB / 0.9391 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.8781, allocations: 29.31 kB / 0.9391 GB, free: 18.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.8781, allocations: 6.375 kB / 0.9391 GB, free: 18.92 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001523/0.8782, allocations: 219.6 kB / 0.9394 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.8783, allocations: 29.92 kB / 0.9394 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.8787, allocations: 168.1 kB / 0.9395 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.8787, allocations: 1.375 kB / 0.9395 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8787, allocations: 0.625 kB / 0.9395 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8787, allocations: 4 kB / 0.9396 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.8795, allocations: 0.6011 MB / 0.9401 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.8796, allocations: 2.375 kB / 0.9401 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.8797, allocations: 24.16 kB / 0.9402 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8797, allocations: 2.281 kB / 0.9402 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.8797, allocations: 3.719 kB / 0.9402 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8797, allocations: 5.75 kB / 0.9402 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8797, allocations: 6.312 kB / 0.9402 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.8801, allocations: 307 kB / 0.9405 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.8802, allocations: 111 kB / 0.9406 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.8803, allocations: 7.234 kB / 0.9406 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.8805, allocations: 19.41 kB / 0.9406 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.8805, allocations: 17.27 kB / 0.9406 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.8805, allocations: 5.062 kB / 0.9406 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002201/0.8808, allocations: 194.9 kB / 0.9408 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8808, allocations: 0 / 0.9408 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004973/0.8813, allocations: 95.84 kB / 0.9409 GB, free: 17.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000379/0.8817, allocations: 181.9 kB / 0.9411 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004716/0.8822, allocations: 177.7 kB / 0.9412 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8822, allocations: 0 / 0.9412 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.8823, allocations: 67.12 kB / 0.9413 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.8831, allocations: 125.4 kB / 0.9414 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.8838, allocations: 0.4896 MB / 0.9419 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8841, allocations: 0.7628 MB / 0.9427 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.8844, allocations: 72.62 kB / 0.9427 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.8844, allocations: 20.41 kB / 0.9427 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.8844, allocations: 4 kB / 0.9427 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.008704/0.8931, allocations: 4.133 MB / 0.9468 GB, free: 16.44 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: