Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.613/2.613, allocations: 287.3 MB / 302.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001538/0.001538, allocations: 182.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 86.97 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 12.09 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2087, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.8721/1.081, allocations: 135.7 MB / 1.111 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006331/1.087, allocations: 1.668 MB / 1.112 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/1.088, allocations: 8.406 kB / 1.112 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/1.089, allocations: 176.4 kB / 1.113 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/1.093, allocations: 0.4908 MB / 1.113 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/1.097, allocations: 413.6 kB / 1.113 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004895/1.102, allocations: 1.499 MB / 1.115 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/1.104, allocations: 0.6976 MB / 1.116 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003561/1.108, allocations: 0.6931 MB / 1.116 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/1.11, allocations: 491.2 kB / 1.117 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/1.11, allocations: 34.09 kB / 1.117 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/1.113, allocations: 417.8 kB / 1.117 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007948/1.114, allocations: 261.8 kB / 1.117 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007718/1.115, allocations: 231.4 kB / 1.118 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/1.118, allocations: 0.9651 MB / 1.119 GB, free: 436 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.118, allocations: 0 / 1.119 GB, free: 436 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.337e-06/1.118, allocations: 0 / 1.119 GB, free: 436 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.21e-05/1.118, allocations: 0 / 1.119 GB, free: 436 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005159/1.123, allocations: 1.292 MB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.123, allocations: 8.547 kB / 1.12 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/1.125, allocations: 191.7 kB / 1.12 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/1.129, allocations: 0.7954 MB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/1.129, allocations: 45.53 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.129, allocations: 58.81 kB / 1.121 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/1.132, allocations: 0.793 MB / 1.122 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/1.132, allocations: 3.938 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.132, allocations: 23.25 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/1.132, allocations: 20.94 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/1.135, allocations: 0.5368 MB / 1.122 GB, free: 14.95 MB / 0.698 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.01061/1.146, allocations: 4.612 MB / 1.127 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/1.148, allocations: 432.1 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/1.148, allocations: 16.67 kB / 1.127 GB, free: 11.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007772/1.149, allocations: 298.2 kB / 1.127 GB, free: 11.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.005e-06/1.149, allocations: 0 / 1.127 GB, free: 11.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00229/1.151, allocations: 0.6522 MB / 1.128 GB, free: 11.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/1.151, allocations: 107.3 kB / 1.128 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/1.153, allocations: 1.111 MB / 1.129 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/1.153, allocations: 43.11 kB / 1.129 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/1.154, allocations: 494.9 kB / 1.13 GB, free: 10.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/1.154, allocations: 105.8 kB / 1.13 GB, free: 10.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/1.154, allocations: 7.906 kB / 1.13 GB, free: 10.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.154, allocations: 325.7 kB / 1.13 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/1.155, allocations: 184.7 kB / 1.13 GB, free: 10.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.156, allocations: 0.496 MB / 1.131 GB, free: 10.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/1.157, allocations: 290.8 kB / 1.131 GB, free: 9.965 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.157, allocations: 3.312 kB / 1.131 GB, free: 9.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001999/1.159, allocations: 0.6848 MB / 1.132 GB, free: 9.805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/1.16, allocations: 2.131 MB / 1.134 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/1.16, allocations: 5.562 kB / 1.134 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/1.16, allocations: 8.406 kB / 1.134 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.161, allocations: 112.9 kB / 1.134 GB, free: 7.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.161, allocations: 11.09 kB / 1.134 GB, free: 7.555 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.163, allocations: 107.4 kB / 1.134 GB, free: 7.523 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/1.163, allocations: 25.78 kB / 1.134 GB, free: 7.523 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.163, allocations: 6.812 kB / 1.134 GB, free: 7.52 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001632/1.164, allocations: 0.5387 MB / 1.135 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.164, allocations: 5.875 kB / 1.135 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.164, allocations: 8.094 kB / 1.135 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007869/1.165, allocations: 111.8 kB / 1.135 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.165, allocations: 13.89 kB / 1.135 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.167, allocations: 101.7 kB / 1.135 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/1.167, allocations: 22.69 kB / 1.135 GB, free: 7.402 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * 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.001123/1.168, allocations: 470.5 kB / 1.135 GB, free: 7.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.168, allocations: 99.66 kB / 1.135 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/1.17, allocations: 482.9 kB / 1.136 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.17, allocations: 4.188 kB / 1.136 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.17, allocations: 0.5625 kB / 1.136 GB, free: 7.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.17, allocations: 7.266 kB / 1.136 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/1.173, allocations: 1.105 MB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.173, allocations: 1.25 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/1.173, allocations: 77.34 kB / 1.137 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.173, allocations: 2.531 kB / 1.137 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/1.174, allocations: 7.5 kB / 1.137 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/1.174, allocations: 2.688 kB / 1.137 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.174, allocations: 10.3 kB / 1.137 GB, free: 6.422 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/1.175, allocations: 0.6242 MB / 1.138 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007174/1.176, allocations: 221.9 kB / 1.138 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.176, allocations: 12.23 kB / 1.138 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009248/1.177, allocations: 52.42 kB / 1.138 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.177, allocations: 40.81 kB / 1.138 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/1.177, allocations: 12.06 kB / 1.138 GB, free: 5.844 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002051/1.18, allocations: 0.784 MB / 1.139 GB, free: 5.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.82e-07/1.18, allocations: 0 / 1.139 GB, free: 5.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002297/1.182, allocations: 405.5 kB / 1.139 GB, free: 5.555 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006949/1.183, allocations: 180.4 kB / 1.139 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.185, allocations: 0.8101 MB / 1.14 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.185, allocations: 0 / 1.14 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/1.186, allocations: 203.5 kB / 1.14 GB, free: 5.086 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.19, allocations: 459.6 kB / 1.141 GB, free: 4.934 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/1.195, allocations: 1.955 MB / 1.143 GB, free: 3.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.196, allocations: 1.199 MB / 1.144 GB, free: 2.941 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002284/1.199, allocations: 421.8 kB / 1.144 GB, free: 2.758 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/1.199, allocations: 73.3 kB / 1.144 GB, free: 2.746 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/1.199, allocations: 0 / 1.144 GB, free: 2.746 MB / 0.698 GB Notification: Performance of Templates: time 0.04875/1.248, allocations: 15.99 MB / 1.16 GB, free: 10.93 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)