Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.847/0.847, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001841/0.001841, allocations: 184.8 kB / 182.2 MB, free: 9.449 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.49/1.49, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009611/0.0009612, allocations: 95.8 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 270.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.421e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.4979, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.198/5.696, allocations: 1.832 GB / 2.589 GB, free: 229 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/5.696, allocations: 99.81 kB / 2.589 GB, free: 228.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.116/12.81, allocations: 1.986 GB / 4.575 GB, free: 113.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/12.81, allocations: 7.938 kB / 4.575 GB, free: 113.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001074/12.81, allocations: 31.59 kB / 4.575 GB, free: 113.5 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003537/12.82, allocations: 1.275 MB / 4.576 GB, free: 112.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/12.82, allocations: 8.031 kB / 4.576 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/12.82, allocations: 196.8 kB / 4.577 GB, free: 112 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/12.82, allocations: 1.449 MB / 4.578 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/12.82, allocations: 16 kB / 4.578 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/12.82, allocations: 44 kB / 4.578 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008884/12.82, allocations: 0.6974 MB / 4.579 GB, free: 109.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/12.82, allocations: 0.857 MB / 4.58 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/12.82, allocations: 0 / 4.58 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/12.82, allocations: 4 kB / 4.58 GB, free: 108.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/12.82, allocations: 12 kB / 4.58 GB, free: 108.8 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.003213/12.83, allocations: 4.57 MB / 4.584 GB, free: 104 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/12.83, allocations: 4.02 MB / 4.588 GB, free: 99.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/12.83, allocations: 346.3 kB / 4.588 GB, free: 98.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/12.83, allocations: 189.9 kB / 4.589 GB, free: 98.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/12.83, allocations: 300.6 kB / 4.589 GB, free: 98.25 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003012/12.83, allocations: 23.64 kB / 4.589 GB, free: 98.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 1.814e-06/12.83, allocations: 0 / 4.589 GB, free: 98.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.00157/12.83, allocations: 0.8475 MB / 4.59 GB, free: 97.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/12.83, allocations: 85.11 kB / 4.59 GB, free: 97.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008865/12.83, allocations: 0.8989 MB / 4.591 GB, free: 96.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/12.83, allocations: 25.7 kB / 4.591 GB, free: 96.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/12.83, allocations: 0.5285 MB / 4.591 GB, free: 95.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/12.83, allocations: 122.2 kB / 4.591 GB, free: 95.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/12.83, allocations: 0 / 4.591 GB, free: 95.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/12.83, allocations: 333.9 kB / 4.592 GB, free: 95.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/12.83, allocations: 201 kB / 4.592 GB, free: 95.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/12.83, allocations: 0.5393 MB / 4.592 GB, free: 94.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/12.83, allocations: 301.9 kB / 4.593 GB, free: 94.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/12.83, allocations: 0 / 4.593 GB, free: 94.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001405/12.83, allocations: 0.9748 MB / 4.594 GB, free: 93.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/12.83, allocations: 2.217 MB / 4.596 GB, free: 90.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/12.83, allocations: 15.94 kB / 4.596 GB, free: 90.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/12.83, allocations: 258.1 kB / 4.596 GB, free: 90.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/12.83, allocations: 79.83 kB / 4.596 GB, free: 90.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008959/12.84, allocations: 1.159 MB / 4.597 GB, free: 89.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/12.84, allocations: 95.8 kB / 4.597 GB, free: 89.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/12.84, allocations: 24 kB / 4.597 GB, free: 89.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/12.84, allocations: 4 kB / 4.597 GB, free: 89.14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009855/12.84, allocations: 0.6761 MB / 4.598 GB, free: 88.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/12.84, allocations: 8.172 kB / 4.598 GB, free: 88.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/12.84, allocations: 236.5 kB / 4.598 GB, free: 88.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/12.84, allocations: 75.89 kB / 4.598 GB, free: 88.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/12.84, allocations: 2.964 MB / 4.601 GB, free: 85.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009877/12.84, allocations: 87.8 kB / 4.601 GB, free: 84.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/12.84, allocations: 27.94 kB / 4.601 GB, free: 84.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/12.84, allocations: 125.1 kB / 4.601 GB, free: 84.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/12.84, allocations: 106.7 kB / 4.602 GB, free: 84.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/12.84, allocations: 0.7489 MB / 4.602 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/12.84, allocations: 4 kB / 4.602 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/12.84, allocations: 0 / 4.602 GB, free: 83.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/12.84, allocations: 0 / 4.602 GB, free: 83.96 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 postOpt removeSimpleEquations (simulation): time 0.002137/12.85, allocations: 2.054 MB / 4.604 GB, free: 81.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/12.85, allocations: 0 / 4.604 GB, free: 81.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/12.85, allocations: 52.16 kB / 4.604 GB, free: 81.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/12.85, allocations: 164.7 kB / 4.604 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/12.85, allocations: 8 kB / 4.604 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005315/12.85, allocations: 0.9004 MB / 4.605 GB, free: 80.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/12.85, allocations: 4 kB / 4.605 GB, free: 80.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/12.85, allocations: 0.923 MB / 4.606 GB, free: 79.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/12.85, allocations: 231.7 kB / 4.606 GB, free: 79.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/12.85, allocations: 7.984 kB / 4.606 GB, free: 79.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/12.85, allocations: 75.75 kB / 4.607 GB, free: 79.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/12.85, allocations: 35.91 kB / 4.607 GB, free: 79.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/12.85, allocations: 15.94 kB / 4.607 GB, free: 79.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000681/12.85, allocations: 0.7025 MB / 4.607 GB, free: 78.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/12.85, allocations: 0 / 4.607 GB, free: 78.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001678/12.85, allocations: 0.5804 MB / 4.608 GB, free: 77.96 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001422/12.85, allocations: 1.264 MB / 4.609 GB, free: 76.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001383/12.85, allocations: 1.089 MB / 4.61 GB, free: 75.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/12.85, allocations: 0 / 4.61 GB, free: 75.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002955/12.85, allocations: 235.6 kB / 4.61 GB, free: 75.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/12.86, allocations: 0.5829 MB / 4.611 GB, free: 74.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/12.86, allocations: 1.425 MB / 4.612 GB, free: 73.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/12.86, allocations: 1.23 MB / 4.614 GB, free: 72.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001863/12.86, allocations: 0.7377 MB / 4.614 GB, free: 71.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/12.86, allocations: 47.44 kB / 4.614 GB, free: 71.36 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/12.86, allocations: 0 / 4.614 GB, free: 71.36 MB / 0.698 GB Notification: Performance of Templates: time 0.03398/12.9, allocations: 25.98 MB / 4.64 GB, free: 45.61 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)