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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.9087/0.9087, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001326, allocations: 180.9 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008822, allocations: 80.12 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 277.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.629e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5146, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.766, allocations: 1.829 GB / 2.586 GB, free: 231.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/5.767, allocations: 99.55 kB / 2.586 GB, free: 231.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.012/11.78, allocations: 1.782 GB / 4.369 GB, free: 53.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/11.78, allocations: 0 / 4.369 GB, free: 53.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.542e-05/11.78, allocations: 27.98 kB / 4.369 GB, free: 53.83 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.001574/11.78, allocations: 1.137 MB / 4.37 GB, free: 52.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/11.78, allocations: 8.031 kB / 4.37 GB, free: 52.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006847/11.78, allocations: 186.5 kB / 4.37 GB, free: 52.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/11.78, allocations: 1.073 MB / 4.371 GB, free: 51.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/11.78, allocations: 16 kB / 4.371 GB, free: 51.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/11.78, allocations: 40 kB / 4.371 GB, free: 51.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006127/11.78, allocations: 474.3 kB / 4.371 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/11.78, allocations: 0.6688 MB / 4.372 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/11.78, allocations: 4 kB / 4.372 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/11.78, allocations: 0 / 4.372 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/11.78, allocations: 20 kB / 4.372 GB, free: 50.03 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.002924/11.79, allocations: 4.473 MB / 4.376 GB, free: 45.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/11.79, allocations: 438.5 kB / 4.377 GB, free: 44.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/11.79, allocations: 235.8 kB / 4.377 GB, free: 44.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/11.79, allocations: 198.2 kB / 4.377 GB, free: 44.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003437/11.79, allocations: 267 kB / 4.378 GB, free: 44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/11.79, allocations: 0 / 4.378 GB, free: 44 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0009721/11.79, allocations: 487.9 kB / 4.378 GB, free: 43.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/11.79, allocations: 93.09 kB / 4.378 GB, free: 43.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/11.79, allocations: 0.8479 MB / 4.379 GB, free: 42.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/11.79, allocations: 25.7 kB / 4.379 GB, free: 42.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/11.79, allocations: 492.2 kB / 4.379 GB, free: 42.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/11.79, allocations: 102.7 kB / 4.379 GB, free: 41.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/11.79, allocations: 3.938 kB / 4.38 GB, free: 41.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.48e-05/11.79, allocations: 333.9 kB / 4.38 GB, free: 41.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/11.79, allocations: 176.7 kB / 4.38 GB, free: 41.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/11.79, allocations: 0.5007 MB / 4.38 GB, free: 40.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/11.79, allocations: 262.1 kB / 4.381 GB, free: 40.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/11.79, allocations: 4 kB / 4.381 GB, free: 40.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007215/11.79, allocations: 0.6094 MB / 4.381 GB, free: 39.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005599/11.79, allocations: 2.126 MB / 4.383 GB, free: 37.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/11.79, allocations: 4 kB / 4.383 GB, free: 37.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/11.79, allocations: 12 kB / 4.383 GB, free: 37.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/11.79, allocations: 111.8 kB / 4.384 GB, free: 37.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/11.79, allocations: 11.95 kB / 4.384 GB, free: 37.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/11.79, allocations: 95.45 kB / 4.384 GB, free: 37.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/11.79, allocations: 24 kB / 4.384 GB, free: 37.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/11.79, allocations: 4 kB / 4.384 GB, free: 37.35 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005131/11.8, allocations: 415.7 kB / 4.384 GB, free: 36.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/11.8, allocations: 4 kB / 4.384 GB, free: 36.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.954e-06/11.8, allocations: 12 kB / 4.384 GB, free: 36.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/11.8, allocations: 103.8 kB / 4.384 GB, free: 36.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/11.8, allocations: 11.94 kB / 4.384 GB, free: 36.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/11.8, allocations: 79.95 kB / 4.384 GB, free: 36.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/11.8, allocations: 24 kB / 4.384 GB, free: 36.71 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 () * 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.0001153/11.8, allocations: 124.8 kB / 4.384 GB, free: 36.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/11.8, allocations: 90.88 kB / 4.384 GB, free: 36.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/11.8, allocations: 446.7 kB / 4.385 GB, free: 36.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/11.8, allocations: 4 kB / 4.385 GB, free: 36.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/11.8, allocations: 8 kB / 4.385 GB, free: 36.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/11.8, allocations: 3.984 kB / 4.385 GB, free: 36.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/11.8, allocations: 1.266 MB / 4.386 GB, free: 34.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/11.8, allocations: 0 / 4.386 GB, free: 34.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/11.8, allocations: 71.89 kB / 4.386 GB, free: 34.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/11.8, allocations: 3.938 kB / 4.386 GB, free: 34.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/11.8, allocations: 8 kB / 4.386 GB, free: 34.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/11.8, allocations: 7.984 kB / 4.386 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/11.8, allocations: 4 kB / 4.386 GB, free: 34.61 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/11.8, allocations: 0.6318 MB / 4.387 GB, free: 33.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/11.8, allocations: 203.9 kB / 4.387 GB, free: 33.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/11.8, allocations: 7.984 kB / 4.387 GB, free: 33.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/11.8, allocations: 51.8 kB / 4.387 GB, free: 33.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/11.8, allocations: 35.84 kB / 4.387 GB, free: 33.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/11.8, allocations: 12 kB / 4.387 GB, free: 33.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006847/11.8, allocations: 0.665 MB / 4.388 GB, free: 32.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/11.8, allocations: 0 / 4.388 GB, free: 32.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001275/11.8, allocations: 455.3 kB / 4.388 GB, free: 32.45 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) * 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.001407/11.8, allocations: 1.033 MB / 4.389 GB, free: 31.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007629/11.8, allocations: 0.7484 MB / 4.39 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/11.8, allocations: 1 kB / 4.39 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/11.8, allocations: 189.5 kB / 4.39 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/11.81, allocations: 387.2 kB / 4.391 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/11.81, allocations: 1.313 MB / 4.392 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/11.81, allocations: 1.202 MB / 4.393 GB, free: 27.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001676/11.81, allocations: 0.7562 MB / 4.394 GB, free: 26.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/11.81, allocations: 59.36 kB / 4.394 GB, free: 26.67 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/11.81, allocations: 0 / 4.394 GB, free: 26.67 MB / 0.698 GB Notification: Performance of Templates: time 0.02666/11.84, allocations: 19.9 MB / 4.413 GB, free: 6.938 MB / 0.698 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)