Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7938/0.7938, allocations: 140.1 MB / 156 MB, free: 5.184 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.0011/0.0011, allocations: 178.7 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.696/1.696, allocations: 205.4 MB / 426.3 MB, free: 8.477 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.0009734/0.0009735, allocations: 82.34 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001649/0.00165, allocations: 272.9 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005368/0.0005369, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3813, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.494/4.876, allocations: 2.036 GB / 2.776 GB, free: 173.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/4.876, allocations: 91.95 kB / 2.776 GB, free: 173.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.853/11.73, allocations: 1.798 GB / 4.574 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.829e-06/11.73, allocations: 0 / 4.574 GB, free: 123.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002675/11.73, allocations: 31.98 kB / 4.574 GB, free: 123.2 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.006894/11.74, allocations: 1.51 MB / 4.576 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/11.74, allocations: 12.03 kB / 4.576 GB, free: 121.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/11.74, allocations: 195.3 kB / 4.576 GB, free: 121.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/11.74, allocations: 1.452 MB / 4.577 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/11.74, allocations: 45.38 kB / 4.577 GB, free: 119.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/11.74, allocations: 64.25 kB / 4.577 GB, free: 119.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/11.75, allocations: 0.7933 MB / 4.578 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/11.75, allocations: 7.938 kB / 4.578 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/11.75, allocations: 20 kB / 4.578 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/11.75, allocations: 12 kB / 4.578 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/11.75, allocations: 0.5384 MB / 4.579 GB, free: 118.4 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.004919/11.75, allocations: 4.22 MB / 4.583 GB, free: 113.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/11.75, allocations: 410.9 kB / 4.583 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/11.75, allocations: 325.9 kB / 4.583 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/11.75, allocations: 202.2 kB / 4.584 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004719/11.75, allocations: 311 kB / 4.584 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005758/11.75, allocations: 35.69 kB / 4.584 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 4.708e-06/11.75, allocations: 7.938 kB / 4.584 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001495/11.76, allocations: 0.6808 MB / 4.585 GB, free: 111.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/11.76, allocations: 96.92 kB / 4.585 GB, free: 111.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/11.76, allocations: 1.147 MB / 4.586 GB, free: 110.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/11.76, allocations: 33.7 kB / 4.586 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/11.76, allocations: 488.3 kB / 4.586 GB, free: 110.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.459e-05/11.76, allocations: 118.4 kB / 4.586 GB, free: 109.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/11.76, allocations: 12 kB / 4.586 GB, free: 109.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/11.76, allocations: 322 kB / 4.587 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/11.76, allocations: 201 kB / 4.587 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/11.76, allocations: 0.5225 MB / 4.587 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/11.76, allocations: 0.6156 MB / 4.588 GB, free: 108 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/11.76, allocations: 0 / 4.588 GB, free: 108 MB / 0.6667 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001159/11.76, allocations: 0.7066 MB / 4.589 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/11.76, allocations: 294.2 kB / 4.589 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/11.76, allocations: 4 kB / 4.589 GB, free: 107 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/11.76, allocations: 8 kB / 4.589 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/11.76, allocations: 120 kB / 4.589 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/11.76, allocations: 8 kB / 4.589 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/11.76, allocations: 91.81 kB / 4.589 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/11.76, allocations: 28 kB / 4.589 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/11.76, allocations: 4 kB / 4.589 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008699/11.76, allocations: 0.5633 MB / 4.59 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/11.76, allocations: 8 kB / 4.59 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/11.76, allocations: 12.56 kB / 4.59 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003956/11.76, allocations: 123.7 kB / 4.59 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/11.76, allocations: 11.94 kB / 4.59 GB, free: 106 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/11.76, allocations: 87.75 kB / 4.59 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/11.77, allocations: 24 kB / 4.59 GB, free: 105.9 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 (55): * Single equations (assignments): 54 * 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.0006552/11.77, allocations: 472.7 kB / 4.591 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/11.77, allocations: 102.7 kB / 4.591 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009429/11.77, allocations: 0.5348 MB / 4.591 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/11.77, allocations: 7.922 kB / 4.591 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/11.77, allocations: 4 kB / 4.591 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/11.77, allocations: 4 kB / 4.591 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/11.77, allocations: 1.458 MB / 4.593 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/11.77, allocations: 4 kB / 4.593 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/11.77, allocations: 75.88 kB / 4.593 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/11.77, allocations: 224 / 4.593 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/11.77, allocations: 16 kB / 4.593 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/11.77, allocations: 7.922 kB / 4.593 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/11.77, allocations: 4 kB / 4.593 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/11.77, allocations: 0.6469 MB / 4.593 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004536/11.77, allocations: 223.8 kB / 4.594 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/11.77, allocations: 15.98 kB / 4.594 GB, free: 102.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007794/11.77, allocations: 71.77 kB / 4.594 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/11.77, allocations: 27.91 kB / 4.594 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/11.77, allocations: 19.98 kB / 4.594 GB, free: 102 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001004/11.77, allocations: 0.8042 MB / 4.594 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.3e-07/11.77, allocations: 0 / 4.594 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00178/11.77, allocations: 0.4919 MB / 4.595 GB, free: 100.7 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 (33): * Single equations (assignments): 31 * 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.001717/11.78, allocations: 0.9871 MB / 4.596 GB, free: 99.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001437/11.78, allocations: 0.8637 MB / 4.597 GB, free: 98.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/11.78, allocations: 0 / 4.597 GB, free: 98.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/11.78, allocations: 232.9 kB / 4.597 GB, free: 98.63 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/11.78, allocations: 0.621 MB / 4.598 GB, free: 98.01 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/11.79, allocations: 1.976 MB / 4.6 GB, free: 95.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/11.79, allocations: 1.182 MB / 4.601 GB, free: 94.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001387/11.79, allocations: 404.2 kB / 4.601 GB, free: 94.36 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/11.79, allocations: 75.44 kB / 4.601 GB, free: 94.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.212e-06/11.79, allocations: 0 / 4.601 GB, free: 94.29 MB / 0.6667 GB Notification: Performance of Templates: time 0.04787/11.84, allocations: 30.32 MB / 4.631 GB, free: 64.09 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)