Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.786/1.786, allocations: 297.8 MB / 313.7 MB, free: 104 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.001108/0.001108, allocations: 180.3 kB / 384.6 MB, free: 10.85 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.596/1.596, allocations: 223.2 MB / 0.6626 GB, free: 4.27 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.000922/0.0009219, allocations: 96.02 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004618, allocations: 12 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8268, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.542/5.369, allocations: 1.861 GB / 2.887 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/5.369, allocations: 95.67 kB / 2.887 GB, free: 299.3 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.895/11.26, allocations: 1.796 GB / 4.684 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.685e-06/11.26, allocations: 0 / 4.684 GB, free: 55.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001758/11.26, allocations: 31.98 kB / 4.684 GB, free: 55.36 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003847/11.27, allocations: 1.411 MB / 4.685 GB, free: 53.88 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/11.27, allocations: 8.031 kB / 4.685 GB, free: 53.88 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/11.27, allocations: 187.5 kB / 4.685 GB, free: 53.69 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/11.27, allocations: 1.12 MB / 4.686 GB, free: 52.52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/11.27, allocations: 45.38 kB / 4.686 GB, free: 52.47 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/11.27, allocations: 60.36 kB / 4.686 GB, free: 52.41 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/11.27, allocations: 0.7679 MB / 4.687 GB, free: 51.57 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/11.27, allocations: 11.88 kB / 4.687 GB, free: 51.56 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/11.27, allocations: 20 kB / 4.687 GB, free: 51.54 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/11.27, allocations: 20 kB / 4.687 GB, free: 51.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008068/11.27, allocations: 0.5149 MB / 4.688 GB, free: 51 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.003788/11.28, allocations: 4.603 MB / 4.692 GB, free: 46.02 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006171/11.28, allocations: 418.2 kB / 4.693 GB, free: 45.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/11.28, allocations: 253.5 kB / 4.693 GB, free: 45.35 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/11.28, allocations: 190.2 kB / 4.693 GB, free: 45.13 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003912/11.28, allocations: 297.9 kB / 4.693 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/11.28, allocations: 0 / 4.693 GB, free: 44.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.001317/11.28, allocations: 0.6481 MB / 4.694 GB, free: 44.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/11.28, allocations: 81.11 kB / 4.694 GB, free: 44.07 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/11.28, allocations: 1.102 MB / 4.695 GB, free: 42.95 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/11.28, allocations: 37.7 kB / 4.695 GB, free: 42.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/11.28, allocations: 496.1 kB / 4.696 GB, free: 42.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/11.28, allocations: 106.5 kB / 4.696 GB, free: 42.31 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/11.28, allocations: 12 kB / 4.696 GB, free: 42.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/11.28, allocations: 326 kB / 4.696 GB, free: 41.97 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/11.28, allocations: 188.7 kB / 4.696 GB, free: 41.79 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/11.28, allocations: 0.5017 MB / 4.697 GB, free: 41.14 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/11.28, allocations: 0.5951 MB / 4.697 GB, free: 40.47 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/11.28, allocations: 3.938 kB / 4.697 GB, free: 40.47 MB / 0.9792 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001067/11.29, allocations: 0.6873 MB / 4.698 GB, free: 39.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/11.29, allocations: 284 kB / 4.698 GB, free: 39.41 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/11.29, allocations: 4 kB / 4.698 GB, free: 39.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/11.29, allocations: 8 kB / 4.698 GB, free: 39.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/11.29, allocations: 111.8 kB / 4.698 GB, free: 39.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/11.29, allocations: 15.92 kB / 4.698 GB, free: 39.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/11.29, allocations: 107.3 kB / 4.699 GB, free: 39.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/11.29, allocations: 27.98 kB / 4.699 GB, free: 39.14 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/11.29, allocations: 5.25 kB / 4.699 GB, free: 39.14 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007663/11.29, allocations: 0.5485 MB / 4.699 GB, free: 38.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/11.29, allocations: 7.938 kB / 4.699 GB, free: 38.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.103e-06/11.29, allocations: 8 kB / 4.699 GB, free: 38.57 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/11.29, allocations: 107.8 kB / 4.699 GB, free: 38.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/11.29, allocations: 11.98 kB / 4.699 GB, free: 38.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/11.29, allocations: 95.55 kB / 4.699 GB, free: 38.36 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/11.29, allocations: 24 kB / 4.699 GB, free: 38.33 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005642/11.29, allocations: 472.7 kB / 4.7 GB, free: 37.86 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/11.29, allocations: 102.7 kB / 4.7 GB, free: 37.76 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008418/11.29, allocations: 0.4948 MB / 4.7 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/11.29, allocations: 4 kB / 4.7 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/11.29, allocations: 0 / 4.7 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/11.29, allocations: 3.984 kB / 4.7 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/11.29, allocations: 1.385 MB / 4.702 GB, free: 35.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/11.29, allocations: 3.984 kB / 4.702 GB, free: 35.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/11.29, allocations: 72.12 kB / 4.702 GB, free: 35.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/11.29, allocations: 3.984 kB / 4.702 GB, free: 35.71 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/11.29, allocations: 8 kB / 4.702 GB, free: 35.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/11.29, allocations: 4 kB / 4.702 GB, free: 35.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/11.29, allocations: 4 kB / 4.702 GB, free: 35.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/11.29, allocations: 0.61 MB / 4.702 GB, free: 35.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/11.29, allocations: 223.7 kB / 4.703 GB, free: 34.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/11.29, allocations: 8 kB / 4.703 GB, free: 34.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/11.3, allocations: 55.8 kB / 4.703 GB, free: 34.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/11.3, allocations: 43.69 kB / 4.703 GB, free: 34.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/11.3, allocations: 12 kB / 4.703 GB, free: 34.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009027/11.3, allocations: 0.7797 MB / 4.704 GB, free: 33.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.61e-07/11.3, allocations: 0 / 4.704 GB, free: 33.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001583/11.3, allocations: 475.7 kB / 4.704 GB, free: 33.43 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/11.3, allocations: 0.8995 MB / 4.705 GB, free: 32.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001327/11.3, allocations: 0.8042 MB / 4.706 GB, free: 31.71 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/11.3, allocations: 0 / 4.706 GB, free: 31.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000321/11.3, allocations: 206.1 kB / 4.706 GB, free: 31.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/11.3, allocations: 452.2 kB / 4.706 GB, free: 31.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/11.31, allocations: 1.962 MB / 4.708 GB, free: 29.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/11.31, allocations: 1.181 MB / 4.709 GB, free: 27.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001218/11.31, allocations: 431.6 kB / 4.71 GB, free: 27.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/11.31, allocations: 75.36 kB / 4.71 GB, free: 27.36 MB / 0.9792 GB Notification: Performance of SimCode: time 7.81e-07/11.31, allocations: 0 / 4.71 GB, free: 27.36 MB / 0.9792 GB Notification: Performance of Templates: time 0.04146/11.35, allocations: 27.05 MB / 4.736 GB, free: 0.4961 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)