Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.4 MB / 303.4 MB, free: 8.105 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.001026/0.001026, allocations: 176.5 kB / 372 MB, free: 10.19 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0007732/0.000773, allocations: 92.92 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 16.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 115.3 MB / 0.9796 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5725/0.7654, allocations: 146.7 MB / 1.123 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.7678, allocations: 1.648 MB / 1.124 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.7681, allocations: 8.656 kB / 1.124 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.7685, allocations: 114.6 kB / 1.125 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0009697/0.7695, allocations: 394.2 kB / 1.125 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.7704, allocations: 326.2 kB / 1.125 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.7731, allocations: 2.986 MB / 1.128 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.7739, allocations: 0.6821 MB / 1.129 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.7753, allocations: 0.866 MB / 1.13 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006321/0.7759, allocations: 0.7163 MB / 1.13 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.982e-05/0.776, allocations: 32.5 kB / 1.13 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.7771, allocations: 0.5558 MB / 1.131 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.7773, allocations: 278.8 kB / 1.131 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.7775, allocations: 228.9 kB / 1.131 GB, free: 16.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.7784, allocations: 1.024 MB / 1.132 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7784, allocations: 0 / 1.132 GB, free: 16.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7784, allocations: 0 / 1.132 GB, free: 16.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.7784, allocations: 4 kB / 1.132 GB, free: 16.32 MB / 0.698 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.001837/0.7803, allocations: 1.298 MB / 1.134 GB, free: 15.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.7803, allocations: 12.62 kB / 1.134 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/0.781, allocations: 185.5 kB / 1.134 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.7823, allocations: 0.7932 MB / 1.135 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.7824, allocations: 52.38 kB / 1.135 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.7825, allocations: 62.47 kB / 1.135 GB, free: 15.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7835, allocations: 0.7925 MB / 1.136 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.7836, allocations: 9.375 kB / 1.136 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.7836, allocations: 18.38 kB / 1.136 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.7836, allocations: 13.25 kB / 1.136 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.7845, allocations: 0.5516 MB / 1.136 GB, free: 14.76 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.003773/0.7883, allocations: 4.6 MB / 1.141 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.789, allocations: 424.7 kB / 1.141 GB, free: 10.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.7894, allocations: 245.2 kB / 1.141 GB, free: 10.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.7897, allocations: 195 kB / 1.141 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/0.7903, allocations: 296.5 kB / 1.142 GB, free: 10.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/0.7903, allocations: 0 / 1.142 GB, free: 10.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00137/0.7916, allocations: 0.6484 MB / 1.142 GB, free: 10.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.7917, allocations: 84.8 kB / 1.142 GB, free: 10.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.7931, allocations: 1.119 MB / 1.144 GB, free: 9.707 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.7931, allocations: 41.45 kB / 1.144 GB, free: 9.672 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.7935, allocations: 493.5 kB / 1.144 GB, free: 9.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/0.7936, allocations: 111.9 kB / 1.144 GB, free: 9.379 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.7936, allocations: 8.094 kB / 1.144 GB, free: 9.379 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7937, allocations: 322.4 kB / 1.145 GB, free: 9.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.7941, allocations: 183.6 kB / 1.145 GB, free: 9.031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.7947, allocations: 0.4988 MB / 1.145 GB, free: 8.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.7952, allocations: 294.8 kB / 1.145 GB, free: 8.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.7952, allocations: 1.469 kB / 1.145 GB, free: 8.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001189/0.7964, allocations: 0.6832 MB / 1.146 GB, free: 8.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.7966, allocations: 281 kB / 1.146 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.7966, allocations: 5 kB / 1.146 GB, free: 7.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.7967, allocations: 12.41 kB / 1.146 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.7972, allocations: 113.8 kB / 1.147 GB, free: 7.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.7972, allocations: 15.42 kB / 1.147 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.798, allocations: 103.5 kB / 1.147 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.798, allocations: 23.59 kB / 1.147 GB, free: 7.855 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.798, allocations: 2.594 kB / 1.147 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008889/0.7989, allocations: 0.5386 MB / 1.147 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.799, allocations: 6.25 kB / 1.147 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.799, allocations: 7.781 kB / 1.147 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.7994, allocations: 106.2 kB / 1.147 GB, free: 7.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.7994, allocations: 15.55 kB / 1.147 GB, free: 7.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.8001, allocations: 101 kB / 1.147 GB, free: 7.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.8001, allocations: 29.41 kB / 1.147 GB, free: 7.617 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.0005421/0.8007, allocations: 465.4 kB / 1.148 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.8008, allocations: 98.84 kB / 1.148 GB, free: 7.301 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008771/0.8017, allocations: 0.5005 MB / 1.148 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.8017, allocations: 6.375 kB / 1.148 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8017, allocations: 0 / 1.148 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.8017, allocations: 0 / 1.148 GB, free: 7.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.8039, allocations: 1.399 MB / 1.15 GB, free: 6.441 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8039, allocations: 5.406 kB / 1.15 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.8041, allocations: 65.17 kB / 1.15 GB, free: 6.422 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.8042, allocations: 7.203 kB / 1.15 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.8042, allocations: 10.06 kB / 1.15 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8042, allocations: 2.969 kB / 1.15 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8042, allocations: 1.594 kB / 1.15 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.8051, allocations: 0.619 MB / 1.151 GB, free: 6.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.8054, allocations: 224.1 kB / 1.151 GB, free: 5.918 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8055, allocations: 19.64 kB / 1.151 GB, free: 5.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.806, allocations: 50.17 kB / 1.151 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.8061, allocations: 31.12 kB / 1.151 GB, free: 5.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.8062, allocations: 11.34 kB / 1.151 GB, free: 5.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001071/0.8072, allocations: 0.7852 MB / 1.152 GB, free: 5.617 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8072, allocations: 0 / 1.152 GB, free: 5.617 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001232/0.8085, allocations: 413.7 kB / 1.152 GB, free: 5.582 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.000441/0.8089, allocations: 180.2 kB / 1.152 GB, free: 5.461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.8104, allocations: 0.8084 MB / 1.153 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8104, allocations: 64 / 1.153 GB, free: 5.164 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.8108, allocations: 208.6 kB / 1.153 GB, free: 5.117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.813, allocations: 464 kB / 1.154 GB, free: 4.965 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.8165, allocations: 1.957 MB / 1.156 GB, free: 3.863 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.8175, allocations: 1.18 MB / 1.157 GB, free: 2.984 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001319/0.8188, allocations: 417.5 kB / 1.157 GB, free: 2.805 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/0.819, allocations: 73.14 kB / 1.157 GB, free: 2.793 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.8191, allocations: 4 kB / 1.157 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Templates: time 0.02711/0.8462, allocations: 16 MB / 1.173 GB, free: 10.99 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)