Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7662/0.7662, allocations: 140.1 MB / 156 MB, free: 5.18 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.001102/0.001102, allocations: 178.3 kB / 188.5 MB, free: 15.84 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.687/1.687, allocations: 205.4 MB / 426.3 MB, free: 8.398 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.0008794/0.0008797, allocations: 90.34 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0017/0.001699, allocations: 273.1 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004859, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4516, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/5.821, allocations: 2.034 GB / 2.773 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/5.822, allocations: 99.78 kB / 2.773 GB, free: 177 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.838/12.66, allocations: 1.786 GB / 4.559 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.665e-06/12.66, allocations: 0 / 4.559 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001946/12.66, allocations: 34.64 kB / 4.559 GB, free: 142.5 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.005334/12.67, allocations: 1.499 MB / 4.561 GB, free: 141 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/12.67, allocations: 12.03 kB / 4.561 GB, free: 141 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/12.67, allocations: 183.5 kB / 4.561 GB, free: 140.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/12.67, allocations: 1.44 MB / 4.562 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/12.67, allocations: 45.36 kB / 4.562 GB, free: 139.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/12.67, allocations: 64.38 kB / 4.563 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/12.67, allocations: 0.7933 MB / 4.563 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/12.67, allocations: 7.875 kB / 4.563 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/12.67, allocations: 24 kB / 4.563 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/12.67, allocations: 12 kB / 4.563 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009127/12.67, allocations: 0.5345 MB / 4.564 GB, free: 137.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.004042/12.68, allocations: 4.222 MB / 4.568 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/12.68, allocations: 442.8 kB / 4.568 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/12.68, allocations: 338.7 kB / 4.569 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/12.68, allocations: 200.8 kB / 4.569 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004379/12.68, allocations: 323.1 kB / 4.569 GB, free: 132 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004813/12.68, allocations: 27.69 kB / 4.569 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/12.68, allocations: 0 / 4.569 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.004445/12.68, allocations: 1.64 MB / 4.571 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/12.68, allocations: 85.05 kB / 4.571 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/12.69, allocations: 1.143 MB / 4.572 GB, free: 129 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/12.69, allocations: 37.7 kB / 4.572 GB, free: 129 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/12.69, allocations: 491.7 kB / 4.573 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/12.69, allocations: 110.5 kB / 4.573 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/12.69, allocations: 12 kB / 4.573 GB, free: 128.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.924e-05/12.69, allocations: 325.9 kB / 4.573 GB, free: 128 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/12.69, allocations: 209.1 kB / 4.573 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/12.69, allocations: 0.5225 MB / 4.574 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007284/12.69, allocations: 0.6388 MB / 4.574 GB, free: 126.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/12.69, allocations: 4 kB / 4.574 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001983/12.69, allocations: 1.03 MB / 4.575 GB, free: 125.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/12.69, allocations: 287 kB / 4.576 GB, free: 125.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/12.69, allocations: 8 kB / 4.576 GB, free: 125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/12.69, allocations: 325.9 kB / 4.576 GB, free: 124.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/12.69, allocations: 79.19 kB / 4.576 GB, free: 124.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/12.69, allocations: 1.032 MB / 4.577 GB, free: 123.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/12.69, allocations: 87.81 kB / 4.577 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/12.69, allocations: 28 kB / 4.577 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/12.69, allocations: 4 kB / 4.577 GB, free: 123.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/12.69, allocations: 0.7785 MB / 4.578 GB, free: 122.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/12.69, allocations: 4 kB / 4.578 GB, free: 122.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/12.7, allocations: 249.2 kB / 4.578 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/12.7, allocations: 63.89 kB / 4.578 GB, free: 122.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/12.7, allocations: 2.997 MB / 4.581 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/12.7, allocations: 95.81 kB / 4.581 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/12.7, allocations: 20 kB / 4.581 GB, free: 119.1 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006505/12.7, allocations: 472.7 kB / 4.582 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/12.7, allocations: 106.8 kB / 4.582 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/12.7, allocations: 0.7875 MB / 4.583 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/12.7, allocations: 4 kB / 4.583 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/12.7, allocations: 0 / 4.583 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/12.7, allocations: 0 / 4.583 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/12.7, allocations: 1.732 MB / 4.584 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/12.7, allocations: 4.031 kB / 4.584 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/12.7, allocations: 35.97 kB / 4.584 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/12.71, allocations: 236.5 kB / 4.585 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/12.71, allocations: 8 kB / 4.585 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007065/12.71, allocations: 1.001 MB / 4.585 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/12.71, allocations: 3.984 kB / 4.586 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/12.71, allocations: 0.897 MB / 4.586 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/12.71, allocations: 227.7 kB / 4.587 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/12.71, allocations: 8 kB / 4.587 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/12.71, allocations: 67.77 kB / 4.587 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/12.71, allocations: 43.83 kB / 4.587 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/12.71, allocations: 12 kB / 4.587 GB, free: 113.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001004/12.71, allocations: 0.804 MB / 4.588 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/12.71, allocations: 0 / 4.588 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001696/12.71, allocations: 0.5387 MB / 4.588 GB, free: 112 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/12.71, allocations: 0.9118 MB / 4.589 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001715/12.71, allocations: 1.099 MB / 4.59 GB, free: 109.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/12.71, allocations: 0 / 4.59 GB, free: 109.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/12.71, allocations: 259 kB / 4.59 GB, free: 109.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/12.72, allocations: 0.6287 MB / 4.591 GB, free: 109 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/12.72, allocations: 1.989 MB / 4.593 GB, free: 107 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/12.72, allocations: 1.193 MB / 4.594 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009144/12.72, allocations: 312.4 kB / 4.594 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/12.72, allocations: 59.44 kB / 4.594 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/12.72, allocations: 0 / 4.594 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of Templates: time 0.04301/12.76, allocations: 31.76 MB / 4.625 GB, free: 73.77 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)