Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.759/1.759, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 172.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.2 MB / 0.6626 GB, free: 4.363 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009201, allocations: 99.38 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005334, allocations: 14.38 kB / 0.9088 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.855, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.486/5.341, allocations: 1.861 GB / 2.887 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.342, allocations: 96.91 kB / 2.888 GB, free: 299.8 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.702/12.04, allocations: 1.991 GB / 4.879 GB, free: 221.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.394e-06/12.04, allocations: 0 / 4.879 GB, free: 221.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001935/12.04, allocations: 33.94 kB / 4.879 GB, free: 221.1 MB / 0.9792 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.005586/12.05, allocations: 1.57 MB / 4.881 GB, free: 220.1 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/12.05, allocations: 9.969 kB / 4.881 GB, free: 220.1 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/12.05, allocations: 199.1 kB / 4.881 GB, free: 220 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/12.06, allocations: 1.485 MB / 4.882 GB, free: 219 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/12.06, allocations: 51.41 kB / 4.882 GB, free: 219 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/12.06, allocations: 66.78 kB / 4.882 GB, free: 219 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/12.06, allocations: 0.9613 MB / 4.883 GB, free: 218.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/12.06, allocations: 3.938 kB / 4.883 GB, free: 218.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/12.06, allocations: 23.34 kB / 4.883 GB, free: 218.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/12.06, allocations: 14.69 kB / 4.883 GB, free: 218.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/12.06, allocations: 0.7583 MB / 4.884 GB, free: 217.9 MB / 0.9792 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.004683/12.06, allocations: 4.738 MB / 4.889 GB, free: 213.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/12.07, allocations: 4.068 MB / 4.893 GB, free: 209.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/12.07, allocations: 350.5 kB / 4.893 GB, free: 209 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/12.07, allocations: 195.7 kB / 4.893 GB, free: 208.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004502/12.07, allocations: 331.3 kB / 4.893 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000596/12.07, allocations: 35.25 kB / 4.894 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=36): time 4.99e-06/12.07, allocations: 0 / 4.894 GB, free: 208.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36): time 0.004215/12.07, allocations: 1.541 MB / 4.895 GB, free: 207.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/12.07, allocations: 84.92 kB / 4.895 GB, free: 207.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/12.07, allocations: 1.176 MB / 4.896 GB, free: 207 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.825e-05/12.07, allocations: 37.14 kB / 4.896 GB, free: 207 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/12.07, allocations: 0.5149 MB / 4.897 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/12.07, allocations: 134.2 kB / 4.897 GB, free: 206.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/12.07, allocations: 8 kB / 4.897 GB, free: 206.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.471e-05/12.07, allocations: 329.3 kB / 4.897 GB, free: 206.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/12.07, allocations: 206.2 kB / 4.897 GB, free: 206 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/12.07, allocations: 0.5511 MB / 4.898 GB, free: 205.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/12.08, allocations: 0.6574 MB / 4.899 GB, free: 204.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/12.08, allocations: 4 kB / 4.899 GB, free: 204.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002007/12.08, allocations: 1.039 MB / 4.9 GB, free: 204.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/12.08, allocations: 291.3 kB / 4.9 GB, free: 204 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/12.08, allocations: 3.438 kB / 4.9 GB, free: 204 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/12.08, allocations: 315.7 kB / 4.9 GB, free: 203.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/12.08, allocations: 81.45 kB / 4.9 GB, free: 203.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/12.08, allocations: 0.9988 MB / 4.901 GB, free: 203.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/12.08, allocations: 98.81 kB / 4.901 GB, free: 203.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/12.08, allocations: 31.08 kB / 4.901 GB, free: 203 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/12.08, allocations: 4.812 kB / 4.901 GB, free: 203 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001268/12.08, allocations: 0.7937 MB / 4.902 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/12.08, allocations: 6.969 kB / 4.902 GB, free: 202.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/12.08, allocations: 219.7 kB / 4.902 GB, free: 202.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/12.08, allocations: 86.02 kB / 4.902 GB, free: 202.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/12.09, allocations: 2.899 MB / 4.905 GB, free: 200.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/12.09, allocations: 102.1 kB / 4.905 GB, free: 200.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/12.09, allocations: 23.56 kB / 4.905 GB, free: 200.2 MB / 0.9792 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 (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.0006827/12.09, allocations: 475.5 kB / 4.906 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/12.09, allocations: 106.8 kB / 4.906 GB, free: 199.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/12.09, allocations: 0.8039 MB / 4.907 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/12.09, allocations: 3.625 kB / 4.907 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/12.09, allocations: 0 / 4.907 GB, free: 199.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/12.09, allocations: 0 / 4.907 GB, free: 199.3 MB / 0.9792 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.002883/12.09, allocations: 2.152 MB / 4.909 GB, free: 197.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/12.09, allocations: 3.906 kB / 4.909 GB, free: 197.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/12.09, allocations: 56.53 kB / 4.909 GB, free: 197.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/12.09, allocations: 171.1 kB / 4.909 GB, free: 197.6 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/12.09, allocations: 15.73 kB / 4.909 GB, free: 197.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005516/12.09, allocations: 0.8468 MB / 4.91 GB, free: 196.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/12.09, allocations: 3.938 kB / 4.91 GB, free: 196.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/12.1, allocations: 0.868 MB / 4.911 GB, free: 196.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/12.1, allocations: 237.6 kB / 4.911 GB, free: 196.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/12.1, allocations: 11.31 kB / 4.911 GB, free: 196.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/12.1, allocations: 85.53 kB / 4.911 GB, free: 196.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.455e-05/12.1, allocations: 39.23 kB / 4.911 GB, free: 196.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/12.1, allocations: 9.781 kB / 4.911 GB, free: 196.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001036/12.1, allocations: 0.8306 MB / 4.912 GB, free: 195.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/12.1, allocations: 3.938 kB / 4.912 GB, free: 195.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002016/12.1, allocations: 0.5985 MB / 4.913 GB, free: 195.5 MB / 0.9792 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 (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.001629/12.1, allocations: 1.065 MB / 4.914 GB, free: 195 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001898/12.1, allocations: 1.127 MB / 4.915 GB, free: 194.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/12.1, allocations: 0 / 4.915 GB, free: 194.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/12.1, allocations: 261.5 kB / 4.915 GB, free: 194.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/12.11, allocations: 0.6535 MB / 4.916 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/12.11, allocations: 2.102 MB / 4.918 GB, free: 192.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/12.11, allocations: 1.211 MB / 4.919 GB, free: 191.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00121/12.11, allocations: 387.8 kB / 4.919 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/12.11, allocations: 78.72 kB / 4.919 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of SimCode: time 7.51e-07/12.11, allocations: 0 / 4.919 GB, free: 191.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.04617/12.16, allocations: 33.74 MB / 4.952 GB, free: 160.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)