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 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.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.861/0.861, allocations: 140.1 MB / 156 MB, free: 5.168 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.001198/0.001198, allocations: 178.5 kB / 188.5 MB, free: 15.82 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.987/1.987, allocations: 205.4 MB / 426.3 MB, free: 8.465 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.001009/0.001009, allocations: 96.84 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001675/0.001675, allocations: 268.1 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.000501, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4869, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/5.292, allocations: 2.036 GB / 2.776 GB, free: 174.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/5.292, allocations: 97.56 kB / 2.776 GB, free: 174 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.309/12.6, allocations: 1.989 GB / 4.764 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.687e-06/12.6, allocations: 3.688 kB / 4.764 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002433/12.6, allocations: 35.39 kB / 4.764 GB, free: 147.7 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.006244/12.61, allocations: 1.561 MB / 4.766 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/12.61, allocations: 14.56 kB / 4.766 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/12.61, allocations: 205.5 kB / 4.766 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004332/12.61, allocations: 1.508 MB / 4.768 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/12.61, allocations: 48.88 kB / 4.768 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002231/12.61, allocations: 68.5 kB / 4.768 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/12.62, allocations: 0.9585 MB / 4.769 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/12.62, allocations: 6.906 kB / 4.769 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/12.62, allocations: 21.34 kB / 4.769 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/12.62, allocations: 14.69 kB / 4.769 GB, free: 146.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/12.62, allocations: 0.7553 MB / 4.769 GB, free: 146.3 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.005019/12.62, allocations: 4.692 MB / 4.774 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/12.62, allocations: 4.005 MB / 4.778 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/12.62, allocations: 359.8 kB / 4.778 GB, free: 138.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/12.63, allocations: 194.6 kB / 4.778 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005209/12.63, allocations: 335.9 kB / 4.779 GB, free: 138.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006039/12.63, allocations: 35.88 kB / 4.779 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 3.627e-06/12.63, allocations: 0 / 4.779 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.004801/12.63, allocations: 1.686 MB / 4.78 GB, free: 138.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/12.63, allocations: 82.17 kB / 4.781 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/12.63, allocations: 1.181 MB / 4.782 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/12.63, allocations: 36.3 kB / 4.782 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/12.63, allocations: 0.5159 MB / 4.782 GB, free: 138 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/12.63, allocations: 125 kB / 4.782 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/12.63, allocations: 14.72 kB / 4.782 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/12.63, allocations: 332.5 kB / 4.783 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/12.63, allocations: 204.7 kB / 4.783 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/12.63, allocations: 0.5564 MB / 4.783 GB, free: 137.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000815/12.64, allocations: 0.6575 MB / 4.784 GB, free: 137 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/12.64, allocations: 0 / 4.784 GB, free: 137 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002259/12.64, allocations: 1.082 MB / 4.785 GB, free: 136.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/12.64, allocations: 283.5 kB / 4.785 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/12.64, allocations: 6.938 kB / 4.785 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/12.64, allocations: 373.2 kB / 4.786 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/12.64, allocations: 75.72 kB / 4.786 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009478/12.64, allocations: 1.04 MB / 4.787 GB, free: 136 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/12.64, allocations: 104.5 kB / 4.787 GB, free: 136 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/12.64, allocations: 23.78 kB / 4.787 GB, free: 136 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/12.64, allocations: 4.281 kB / 4.787 GB, free: 136 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/12.64, allocations: 0.8212 MB / 4.788 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/12.64, allocations: 7.688 kB / 4.788 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/12.64, allocations: 253.1 kB / 4.788 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/12.64, allocations: 79.16 kB / 4.788 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/12.65, allocations: 3.083 MB / 4.791 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/12.65, allocations: 107.9 kB / 4.791 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/12.65, allocations: 26.38 kB / 4.791 GB, free: 134.5 MB / 0.6667 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 () * Number of clocked 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.0007564/12.65, allocations: 482.5 kB / 4.792 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/12.65, allocations: 110.4 kB / 4.792 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/12.65, allocations: 0.8289 MB / 4.793 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/12.65, allocations: 10.92 kB / 4.793 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/12.65, allocations: 3.609 kB / 4.793 GB, free: 134.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/12.65, allocations: 0 / 4.793 GB, free: 134.1 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 postOpt removeSimpleEquations (simulation): time 0.003314/12.65, allocations: 2.194 MB / 4.795 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/12.65, allocations: 5.906 kB / 4.795 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/12.65, allocations: 54.06 kB / 4.795 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/12.66, allocations: 201.2 kB / 4.795 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/12.66, allocations: 13.91 kB / 4.795 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006355/12.66, allocations: 0.8781 MB / 4.796 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/12.66, allocations: 7.25 kB / 4.796 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/12.66, allocations: 0.8948 MB / 4.797 GB, free: 132.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/12.66, allocations: 236 kB / 4.797 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/12.66, allocations: 10.16 kB / 4.797 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008278/12.66, allocations: 78.5 kB / 4.797 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/12.66, allocations: 39.64 kB / 4.797 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/12.66, allocations: 18.78 kB / 4.797 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001215/12.66, allocations: 0.8225 MB / 4.798 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.61e-07/12.66, allocations: 0 / 4.798 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002426/12.66, allocations: 0.609 MB / 4.799 GB, free: 132 MB / 0.6667 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) * Number of clocked states: 0 () * 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.001958/12.66, allocations: 1.133 MB / 4.8 GB, free: 131.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002139/12.67, allocations: 1.147 MB / 4.801 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/12.67, allocations: 2.812 kB / 4.801 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004649/12.67, allocations: 272.5 kB / 4.801 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/12.67, allocations: 0.6517 MB / 4.802 GB, free: 131 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/12.67, allocations: 2.103 MB / 4.804 GB, free: 129.9 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/12.68, allocations: 1.211 MB / 4.805 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001406/12.68, allocations: 382.1 kB / 4.805 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/12.68, allocations: 71.97 kB / 4.805 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of SimCode: time 1.343e-06/12.68, allocations: 0 / 4.805 GB, free: 129.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.04955/12.73, allocations: 34.7 MB / 4.839 GB, free: 100.5 MB / 0.6667 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)