Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007512/0.0007511, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.000864/0.0008642, allocations: 168.7 kB / 15.95 MB, free: 204 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.295/1.295, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.625/1.625, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004556/0.0004556, allocations: 13.62 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02279/0.2185, allocations: 27.27 MB / 0.8139 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.233, allocations: 11.73 MB / 0.8254 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2341, allocations: 39.75 kB / 0.8254 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.2354, allocations: 465.2 kB / 0.8258 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002429/0.2378, allocations: 1.189 MB / 0.827 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.2403, allocations: 1.051 MB / 0.828 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003747/0.2441, allocations: 4.267 MB / 0.8322 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.2452, allocations: 0.9999 MB / 0.8332 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2468, allocations: 1.198 MB / 0.8343 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.2478, allocations: 0.9956 MB / 0.8353 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2479, allocations: 52 kB / 0.8354 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2494, allocations: 0.8581 MB / 0.8362 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.2497, allocations: 318.7 kB / 0.8365 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.25, allocations: 324.8 kB / 0.8368 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.2515, allocations: 1.796 MB / 0.8386 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2515, allocations: 0 / 0.8386 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2515, allocations: 0 / 0.8386 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.2515, allocations: 0 / 0.8386 GB, free: 7.277 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002325/0.2539, allocations: 1.717 MB / 0.8402 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.2539, allocations: 16.03 kB / 0.8403 GB, free: 5.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/0.2548, allocations: 249.9 kB / 0.8405 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001809/0.2566, allocations: 1.261 MB / 0.8417 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.2566, allocations: 62 kB / 0.8418 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.2568, allocations: 92 kB / 0.8419 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2583, allocations: 1.031 MB / 0.8429 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.2583, allocations: 0 / 0.8429 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/0.2585, allocations: 32 kB / 0.8429 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.2585, allocations: 20 kB / 0.8429 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.2599, allocations: 0.7883 MB / 0.8437 GB, free: 1.848 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.004921/0.2649, allocations: 5.129 MB / 0.8487 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.2661, allocations: 0.6557 MB / 0.8494 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006337/0.2668, allocations: 356.2 kB / 0.8497 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/0.2688, allocations: 1.677 MB / 0.8513 GB, free: 9.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007421/0.2695, allocations: 383 kB / 0.8517 GB, free: 9.141 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002784/0.2698, allocations: 99.47 kB / 0.8518 GB, free: 9.043 MB / 0.67 GB Notification: Performance of pre-optimization done (n=44): time 1.814e-06/0.2698, allocations: 0 / 0.8518 GB, free: 9.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=44): time 0.00328/0.2731, allocations: 1.379 MB / 0.8531 GB, free: 7.633 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.2732, allocations: 63.41 kB / 0.8532 GB, free: 7.559 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.2747, allocations: 1.317 MB / 0.8545 GB, free: 6.227 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.472e-05/0.2748, allocations: 41.64 kB / 0.8545 GB, free: 6.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000526/0.2753, allocations: 0.6372 MB / 0.8551 GB, free: 5.535 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2754, allocations: 153.8 kB / 0.8553 GB, free: 5.383 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.2755, allocations: 16 kB / 0.8553 GB, free: 5.367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2756, allocations: 334 kB / 0.8556 GB, free: 5.035 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/0.2762, allocations: 265.8 kB / 0.8559 GB, free: 4.773 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.277, allocations: 0.6208 MB / 0.8565 GB, free: 3.992 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.2777, allocations: 386.2 kB / 0.8569 GB, free: 3.609 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2777, allocations: 3.938 kB / 0.8569 GB, free: 3.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002171/0.2799, allocations: 1.137 MB / 0.858 GB, free: 2.453 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.2801, allocations: 363 kB / 0.8583 GB, free: 1.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.2801, allocations: 8 kB / 0.8583 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/0.2808, allocations: 212.7 kB / 0.8585 GB, free: 1.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.2813, allocations: 155.7 kB / 0.8587 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/0.2821, allocations: 0.8721 MB / 0.8595 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.2829, allocations: 88.55 kB / 0.8596 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.41e-05/0.2829, allocations: 39.98 kB / 0.8596 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-06/0.2829, allocations: 4 kB / 0.8597 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/0.2843, allocations: 0.8716 MB / 0.8605 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2844, allocations: 8 kB / 0.8605 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003001/0.2847, allocations: 148.7 kB / 0.8607 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.2851, allocations: 139.9 kB / 0.8608 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.2873, allocations: 2.339 MB / 0.8631 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.2879, allocations: 92.61 kB / 0.8632 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/0.288, allocations: 32 kB / 0.8632 GB, free: 12.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004948/0.2885, allocations: 480.7 kB / 0.8636 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2886, allocations: 126.4 kB / 0.8638 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.2904, allocations: 0.9505 MB / 0.8647 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.2904, allocations: 4 kB / 0.8647 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2904, allocations: 0 / 0.8647 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.2919, allocations: 0.9389 MB / 0.8656 GB, free: 10.22 MB / 0.6856 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 postOpt removeSimpleEquations (simulation): time 0.002804/0.2947, allocations: 1.994 MB / 0.8676 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2947, allocations: 0 / 0.8676 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/0.2951, allocations: 95.92 kB / 0.8677 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.2954, allocations: 144.7 kB / 0.8678 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.2954, allocations: 11.98 kB / 0.8678 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006409/0.2961, allocations: 0.8253 MB / 0.8686 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2961, allocations: 96 / 0.8686 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.2983, allocations: 1.307 MB / 0.8699 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.2987, allocations: 283.3 kB / 0.8702 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.2988, allocations: 12 kB / 0.8702 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.2994, allocations: 83.91 kB / 0.8702 GB, free: 5.316 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.2996, allocations: 36.39 kB / 0.8703 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.2996, allocations: 23.98 kB / 0.8703 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001145/0.3008, allocations: 0.901 MB / 0.8712 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3008, allocations: 0 / 0.8712 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001688/0.3025, allocations: 0.6745 MB / 0.8718 GB, free: 3.68 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006896/0.3032, allocations: 360.3 kB / 0.8722 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.3059, allocations: 1.433 MB / 0.8736 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.306, allocations: 320 / 0.8736 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.3067, allocations: 362.4 kB / 0.8739 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.3089, allocations: 0.5858 MB / 0.8745 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.3125, allocations: 2.727 MB / 0.8772 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000787/0.3133, allocations: 1.267 MB / 0.8784 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001019/0.3143, allocations: 302.5 kB / 0.8787 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3146, allocations: 99.41 kB / 0.8788 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of SimCode: time 6.42e-07/0.3146, allocations: 0 / 0.8788 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of Templates: time 0.03604/0.3506, allocations: 25.18 MB / 0.9034 GB, free: 3.613 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: