Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 185 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 0.6367 GB, free: 9.473 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 93.42 kB / 0.751 GB, free: 62.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003595, allocations: 8 kB / 0.8748 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/5.738, allocations: 2.067 GB / 3.056 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.739, allocations: 93.52 kB / 3.056 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.601/13.34, allocations: 1.993 GB / 5.049 GB, free: 190 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.926e-06/13.34, allocations: 0 / 5.049 GB, free: 190 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001303/13.34, allocations: 34.08 kB / 5.049 GB, free: 190 MB / 0.948 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.005461/13.35, allocations: 1.569 MB / 5.05 GB, free: 189.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/13.35, allocations: 8.219 kB / 5.05 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/13.35, allocations: 206.5 kB / 5.051 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/13.35, allocations: 1.461 MB / 5.052 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/13.35, allocations: 51.19 kB / 5.052 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/13.35, allocations: 68.72 kB / 5.052 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/13.35, allocations: 0.9455 MB / 5.053 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/13.35, allocations: 2.719 kB / 5.053 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/13.35, allocations: 28.86 kB / 5.053 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/13.35, allocations: 13.44 kB / 5.053 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/13.35, allocations: 0.7554 MB / 5.054 GB, free: 188.6 MB / 0.948 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.005493/13.36, allocations: 4.707 MB / 5.058 GB, free: 185.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/13.36, allocations: 4.01 MB / 5.062 GB, free: 181.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/13.36, allocations: 201.1 kB / 5.063 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005621/13.36, allocations: 324 kB / 5.063 GB, free: 181.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006063/13.36, allocations: 29.73 kB / 5.063 GB, free: 181 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/13.36, allocations: 0 / 5.063 GB, free: 181 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003694/13.37, allocations: 1.412 MB / 5.064 GB, free: 180.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/13.37, allocations: 84.03 kB / 5.064 GB, free: 180.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/13.37, allocations: 1.043 MB / 5.065 GB, free: 180.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/13.37, allocations: 38.64 kB / 5.065 GB, free: 180.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/13.37, allocations: 0.5134 MB / 5.066 GB, free: 180.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.243e-05/13.37, allocations: 129 kB / 5.066 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/13.37, allocations: 10.94 kB / 5.066 GB, free: 180.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/13.37, allocations: 328.1 kB / 5.066 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/13.37, allocations: 211 kB / 5.067 GB, free: 180.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/13.37, allocations: 0.554 MB / 5.067 GB, free: 179.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/13.37, allocations: 328.1 kB / 5.067 GB, free: 179.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/13.37, allocations: 6.219 kB / 5.067 GB, free: 179.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001571/13.37, allocations: 1.003 MB / 5.068 GB, free: 179.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/13.37, allocations: 2.228 MB / 5.071 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/13.37, allocations: 10.55 kB / 5.071 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/13.37, allocations: 268.2 kB / 5.071 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/13.37, allocations: 82.92 kB / 5.071 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/13.37, allocations: 1.046 MB / 5.072 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/13.38, allocations: 99.61 kB / 5.072 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/13.38, allocations: 27.14 kB / 5.072 GB, free: 176.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/13.38, allocations: 9.562 kB / 5.072 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/13.38, allocations: 0.8107 MB / 5.073 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/13.38, allocations: 8.188 kB / 5.073 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006801/13.38, allocations: 255.2 kB / 5.073 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/13.38, allocations: 75.58 kB / 5.073 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/13.38, allocations: 3.14 MB / 5.076 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/13.38, allocations: 99.86 kB / 5.076 GB, free: 175.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/13.38, allocations: 32.09 kB / 5.076 GB, free: 175.1 MB / 0.948 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.001077/13.39, allocations: 479.3 kB / 5.077 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/13.39, allocations: 112.6 kB / 5.077 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/13.39, allocations: 0.8257 MB / 5.078 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/13.39, allocations: 3.812 kB / 5.078 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/13.39, allocations: 4 kB / 5.078 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/13.39, allocations: 6.297 kB / 5.078 GB, free: 174.8 MB / 0.948 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.003473/13.39, allocations: 2.195 MB / 5.08 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/13.39, allocations: 2 kB / 5.08 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/13.39, allocations: 50.23 kB / 5.08 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/13.39, allocations: 212.7 kB / 5.08 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/13.39, allocations: 8.312 kB / 5.08 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007306/13.39, allocations: 0.8772 MB / 5.081 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/13.39, allocations: 6.531 kB / 5.081 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/13.39, allocations: 0.9922 MB / 5.082 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/13.39, allocations: 234.3 kB / 5.082 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/13.4, allocations: 13.2 kB / 5.082 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/13.4, allocations: 77.83 kB / 5.082 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/13.4, allocations: 36.67 kB / 5.082 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/13.4, allocations: 14.55 kB / 5.082 GB, free: 172.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001337/13.4, allocations: 0.8267 MB / 5.083 GB, free: 172.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/13.4, allocations: 0 / 5.083 GB, free: 172.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002263/13.4, allocations: 0.6163 MB / 5.084 GB, free: 172.7 MB / 0.948 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.0018/13.4, allocations: 1.134 MB / 5.085 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002093/13.4, allocations: 1.147 MB / 5.086 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/13.4, allocations: 0 / 5.086 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004834/13.4, allocations: 263.7 kB / 5.086 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/13.41, allocations: 0.6503 MB / 5.087 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/13.41, allocations: 2.1 MB / 5.089 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/13.41, allocations: 1.236 MB / 5.09 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001426/13.41, allocations: 391.5 kB / 5.091 GB, free: 170.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/13.41, allocations: 68.66 kB / 5.091 GB, free: 170.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/13.41, allocations: 4.75 kB / 5.091 GB, free: 170.4 MB / 0.948 GB Notification: Performance of Templates: time 0.06142/13.47, allocations: 34.33 MB / 5.124 GB, free: 168.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)