Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8466/0.8466, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001757/0.001757, allocations: 183.5 kB / 182.2 MB, free: 9.461 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.528/1.528, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009414/0.0009415, allocations: 92.11 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.001739/0.001739, allocations: 283.9 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.105e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5093, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.249/5.758, allocations: 1.829 GB / 2.586 GB, free: 189.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/5.758, allocations: 98.25 kB / 2.586 GB, free: 189.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.776/13.53, allocations: 1.976 GB / 4.562 GB, free: 102.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/13.53, allocations: 0 / 4.562 GB, free: 102.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002129/13.53, allocations: 31.75 kB / 4.562 GB, free: 102.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004977/13.54, allocations: 1.281 MB / 4.564 GB, free: 101.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/13.54, allocations: 8.031 kB / 4.564 GB, free: 101.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/13.54, allocations: 205 kB / 4.564 GB, free: 101.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/13.55, allocations: 1.426 MB / 4.565 GB, free: 99.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/13.55, allocations: 16 kB / 4.565 GB, free: 99.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/13.55, allocations: 43.95 kB / 4.565 GB, free: 99.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/13.55, allocations: 0.6975 MB / 4.566 GB, free: 99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/13.55, allocations: 0.8532 MB / 4.567 GB, free: 98.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/13.55, allocations: 3.938 kB / 4.567 GB, free: 98.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/13.55, allocations: 4 kB / 4.567 GB, free: 98.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/13.55, allocations: 12 kB / 4.567 GB, free: 98.05 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.004832/13.55, allocations: 4.59 MB / 4.571 GB, free: 93.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/13.56, allocations: 4.081 MB / 4.575 GB, free: 88.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/13.56, allocations: 346.4 kB / 4.576 GB, free: 87.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/13.56, allocations: 194.1 kB / 4.576 GB, free: 87.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/13.56, allocations: 296.6 kB / 4.576 GB, free: 87.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005738/13.56, allocations: 23.67 kB / 4.576 GB, free: 87.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/13.56, allocations: 4 kB / 4.576 GB, free: 87.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001739/13.56, allocations: 0.8085 MB / 4.577 GB, free: 86.56 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/13.56, allocations: 89.05 kB / 4.577 GB, free: 86.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/13.56, allocations: 0.9024 MB / 4.578 GB, free: 85.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/13.56, allocations: 25.7 kB / 4.578 GB, free: 85.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/13.56, allocations: 0.5238 MB / 4.578 GB, free: 84.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/13.56, allocations: 130.1 kB / 4.579 GB, free: 84.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/13.56, allocations: 0 / 4.579 GB, free: 84.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.462e-05/13.56, allocations: 325.9 kB / 4.579 GB, free: 84.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/13.56, allocations: 209 kB / 4.579 GB, free: 84.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/13.56, allocations: 0.5355 MB / 4.58 GB, free: 83.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/13.56, allocations: 289.7 kB / 4.58 GB, free: 83.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/13.56, allocations: 4 kB / 4.58 GB, free: 83.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001376/13.56, allocations: 0.953 MB / 4.581 GB, free: 82.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000558/13.56, allocations: 2.209 MB / 4.583 GB, free: 80 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/13.56, allocations: 11.95 kB / 4.583 GB, free: 79.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/13.56, allocations: 233.6 kB / 4.583 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/13.56, allocations: 75.84 kB / 4.583 GB, free: 79.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009071/13.57, allocations: 1.118 MB / 4.584 GB, free: 78.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/13.57, allocations: 87.8 kB / 4.584 GB, free: 78.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/13.57, allocations: 28 kB / 4.584 GB, free: 78.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/13.57, allocations: 5.25 kB / 4.584 GB, free: 78.42 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009976/13.57, allocations: 0.6448 MB / 4.585 GB, free: 77.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/13.57, allocations: 12.03 kB / 4.585 GB, free: 77.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/13.57, allocations: 209.5 kB / 4.585 GB, free: 77.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/13.57, allocations: 75.89 kB / 4.585 GB, free: 77.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/13.57, allocations: 2.774 MB / 4.588 GB, free: 74.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/13.57, allocations: 91.8 kB / 4.588 GB, free: 74.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/13.57, allocations: 28 kB / 4.588 GB, free: 74.48 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 (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001839/13.57, allocations: 129 kB / 4.588 GB, free: 74.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/13.57, allocations: 106.7 kB / 4.588 GB, free: 74.24 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/13.57, allocations: 0.714 MB / 4.589 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/13.57, allocations: 4 kB / 4.589 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/13.57, allocations: 0 / 4.589 GB, free: 73.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/13.57, allocations: 11.86 kB / 4.589 GB, free: 73.5 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.002139/13.58, allocations: 2.008 MB / 4.591 GB, free: 71.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/13.58, allocations: 4 kB / 4.591 GB, free: 71.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/13.58, allocations: 51.58 kB / 4.591 GB, free: 71.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/13.58, allocations: 137 kB / 4.591 GB, free: 71.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/13.58, allocations: 8 kB / 4.591 GB, free: 71.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/13.58, allocations: 0.8727 MB / 4.592 GB, free: 70.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/13.58, allocations: 4.031 kB / 4.592 GB, free: 70.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/13.58, allocations: 0.8995 MB / 4.593 GB, free: 69.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/13.58, allocations: 227.7 kB / 4.593 GB, free: 69.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/13.58, allocations: 4 kB / 4.593 GB, free: 69.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/13.58, allocations: 71.77 kB / 4.593 GB, free: 68.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/13.58, allocations: 35.91 kB / 4.593 GB, free: 68.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/13.58, allocations: 11.98 kB / 4.593 GB, free: 68.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007638/13.58, allocations: 0.7062 MB / 4.594 GB, free: 68.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/13.58, allocations: 0 / 4.594 GB, free: 68.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00176/13.58, allocations: 0.554 MB / 4.595 GB, free: 67.66 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/13.58, allocations: 1.215 MB / 4.596 GB, free: 66.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001495/13.58, allocations: 1.073 MB / 4.597 GB, free: 65.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/13.58, allocations: 8 kB / 4.597 GB, free: 65.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/13.59, allocations: 219.8 kB / 4.597 GB, free: 65.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/13.59, allocations: 0.5778 MB / 4.598 GB, free: 64.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/13.59, allocations: 1.416 MB / 4.599 GB, free: 63.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/13.59, allocations: 1.242 MB / 4.6 GB, free: 61.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001777/13.59, allocations: 0.7298 MB / 4.601 GB, free: 61.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/13.59, allocations: 47.44 kB / 4.601 GB, free: 61.03 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/13.59, allocations: 4 kB / 4.601 GB, free: 61.03 MB / 0.698 GB Notification: Performance of Templates: time 0.03628/13.63, allocations: 25.31 MB / 4.626 GB, free: 35.92 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)