Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8136/0.8136, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 170.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.4 MB / 426.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 90.41 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001968/0.001968, allocations: 274.1 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005172, allocations: 20 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5192, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/5.884, allocations: 2.034 GB / 2.773 GB, free: 177 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/5.884, allocations: 94.48 kB / 2.773 GB, free: 176.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.324/12.21, allocations: 1.784 GB / 4.558 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.214e-06/12.21, allocations: 0 / 4.558 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001847/12.21, allocations: 29.48 kB / 4.558 GB, free: 144.1 MB / 0.6667 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.003964/12.21, allocations: 1.415 MB / 4.559 GB, free: 142.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/12.21, allocations: 16.02 kB / 4.559 GB, free: 142.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/12.21, allocations: 183.4 kB / 4.559 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/12.22, allocations: 1.127 MB / 4.56 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/12.22, allocations: 45.36 kB / 4.56 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/12.22, allocations: 68.38 kB / 4.56 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/12.22, allocations: 0.7621 MB / 4.561 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/12.22, allocations: 11.88 kB / 4.561 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/12.22, allocations: 27.98 kB / 4.561 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/12.22, allocations: 16 kB / 4.561 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008862/12.22, allocations: 0.5188 MB / 4.562 GB, free: 139.8 MB / 0.6667 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.004154/12.22, allocations: 4.597 MB / 4.566 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/12.22, allocations: 426.2 kB / 4.567 GB, free: 134.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/12.22, allocations: 247.7 kB / 4.567 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/12.22, allocations: 190.2 kB / 4.567 GB, free: 134 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004171/12.22, allocations: 293.9 kB / 4.567 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 3.136e-06/12.22, allocations: 0 / 4.567 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001343/12.23, allocations: 0.6424 MB / 4.568 GB, free: 133 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/12.23, allocations: 81.11 kB / 4.568 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/12.23, allocations: 1.106 MB / 4.569 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/12.23, allocations: 33.7 kB / 4.569 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/12.23, allocations: 0.499 MB / 4.57 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/12.23, allocations: 106.2 kB / 4.57 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/12.23, allocations: 8 kB / 4.57 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.041e-05/12.23, allocations: 326 kB / 4.57 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/12.23, allocations: 188.7 kB / 4.57 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/12.23, allocations: 0.5133 MB / 4.571 GB, free: 130 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/12.23, allocations: 0.5923 MB / 4.571 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/12.23, allocations: 0 / 4.571 GB, free: 129.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001072/12.23, allocations: 0.6816 MB / 4.572 GB, free: 128.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/12.23, allocations: 274.4 kB / 4.572 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/12.23, allocations: 8 kB / 4.572 GB, free: 128.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/12.23, allocations: 8 kB / 4.572 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/12.23, allocations: 112 kB / 4.572 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/12.23, allocations: 11.98 kB / 4.572 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/12.23, allocations: 103.4 kB / 4.572 GB, free: 128 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/12.23, allocations: 27.98 kB / 4.572 GB, free: 128 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/12.23, allocations: 5.25 kB / 4.572 GB, free: 128 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007861/12.23, allocations: 0.5401 MB / 4.573 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/12.23, allocations: 11.94 kB / 4.573 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/12.23, allocations: 8 kB / 4.573 GB, free: 127.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/12.23, allocations: 103.8 kB / 4.573 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/12.23, allocations: 8.344 kB / 4.573 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/12.23, allocations: 103.5 kB / 4.573 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/12.23, allocations: 20.38 kB / 4.573 GB, free: 127.2 MB / 0.6667 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.0005511/12.23, allocations: 472.7 kB / 4.574 GB, free: 126.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/12.23, allocations: 102.7 kB / 4.574 GB, free: 126.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008665/12.24, allocations: 0.5064 MB / 4.574 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/12.24, allocations: 0 / 4.574 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/12.24, allocations: 4 kB / 4.574 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/12.24, allocations: 3.984 kB / 4.574 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/12.24, allocations: 1.387 MB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/12.24, allocations: 0 / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/12.24, allocations: 63.89 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/12.24, allocations: 4 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/12.24, allocations: 8 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/12.24, allocations: 4 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/12.24, allocations: 7.938 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/12.24, allocations: 0.614 MB / 4.576 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004121/12.24, allocations: 219.8 kB / 4.576 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/12.24, allocations: 12 kB / 4.576 GB, free: 123.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/12.24, allocations: 59.73 kB / 4.577 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/12.24, allocations: 35.83 kB / 4.577 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/12.24, allocations: 16 kB / 4.577 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009228/12.24, allocations: 0.7836 MB / 4.577 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/12.24, allocations: 3.938 kB / 4.577 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00173/12.24, allocations: 471.7 kB / 4.578 GB, free: 122.3 MB / 0.6667 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.001532/12.24, allocations: 0.8969 MB / 4.579 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001337/12.25, allocations: 0.8139 MB / 4.579 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/12.25, allocations: 0 / 4.579 GB, free: 120.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/12.25, allocations: 199.8 kB / 4.58 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/12.25, allocations: 458 kB / 4.58 GB, free: 120 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/12.25, allocations: 1.959 MB / 4.582 GB, free: 117.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/12.25, allocations: 1.177 MB / 4.583 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001234/12.25, allocations: 431.5 kB / 4.584 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/12.25, allocations: 75.42 kB / 4.584 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/12.25, allocations: 0 / 4.584 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.03929/12.29, allocations: 27.04 MB / 4.61 GB, free: 89.32 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)