Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 285.4 MB / 298 MB, free: 6.027 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.001136/0.001136, allocations: 184.8 kB / 366.4 MB, free: 2.113 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.861/1.861, allocations: 205.1 MB / 0.6248 GB, free: 7.777 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.0009135/0.0009135, allocations: 94.78 kB / 0.738 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.779e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8293, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.034/5.863, allocations: 2.063 GB / 3.034 GB, free: 76.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/5.864, allocations: 87.95 kB / 3.034 GB, free: 76.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.394/12.26, allocations: 1.787 GB / 4.821 GB, free: 124.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405e-06/12.26, allocations: 0 / 4.821 GB, free: 124.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001741/12.26, allocations: 31.98 kB / 4.821 GB, free: 124.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002589/12.26, allocations: 1.141 MB / 4.823 GB, free: 123.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/12.26, allocations: 12.03 kB / 4.823 GB, free: 123.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/12.26, allocations: 186.4 kB / 4.823 GB, free: 123.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/12.26, allocations: 1.073 MB / 4.824 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/12.26, allocations: 49 kB / 4.824 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/12.26, allocations: 60 kB / 4.824 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/12.27, allocations: 0.7455 MB / 4.825 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/12.27, allocations: 0 / 4.825 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/12.27, allocations: 28 kB / 4.825 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/12.27, allocations: 12 kB / 4.825 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006552/12.27, allocations: 474.6 kB / 4.825 GB, free: 120.8 MB / 0.948 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.004133/12.27, allocations: 4.598 MB / 4.83 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/12.27, allocations: 374.6 kB / 4.83 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/12.27, allocations: 229.2 kB / 4.83 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002939/12.27, allocations: 194.2 kB / 4.83 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003414/12.27, allocations: 270.4 kB / 4.831 GB, free: 114.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.414e-06/12.27, allocations: 0 / 4.831 GB, free: 114.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0009847/12.27, allocations: 466 kB / 4.831 GB, free: 114.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/12.27, allocations: 81.11 kB / 4.831 GB, free: 114.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/12.27, allocations: 0.9763 MB / 4.832 GB, free: 113.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/12.27, allocations: 37.69 kB / 4.832 GB, free: 113.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/12.27, allocations: 497.1 kB / 4.833 GB, free: 112.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/12.28, allocations: 110.5 kB / 4.833 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/12.28, allocations: 8 kB / 4.833 GB, free: 112.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/12.28, allocations: 334 kB / 4.833 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/12.28, allocations: 160.8 kB / 4.833 GB, free: 112 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/12.28, allocations: 488.8 kB / 4.834 GB, free: 111.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/12.28, allocations: 271.4 kB / 4.834 GB, free: 111.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/12.28, allocations: 8 kB / 4.834 GB, free: 111.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008701/12.28, allocations: 0.6316 MB / 4.835 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004341/12.28, allocations: 2.143 MB / 4.837 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/12.28, allocations: 4 kB / 4.837 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/12.28, allocations: 12 kB / 4.837 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/12.28, allocations: 119.7 kB / 4.837 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/12.28, allocations: 15.92 kB / 4.837 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/12.28, allocations: 103.7 kB / 4.837 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/12.28, allocations: 27.94 kB / 4.837 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/12.28, allocations: 4.938 kB / 4.837 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006216/12.28, allocations: 493.5 kB / 4.837 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/12.28, allocations: 8 kB / 4.837 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/12.28, allocations: 12.06 kB / 4.837 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/12.28, allocations: 107.8 kB / 4.837 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/12.28, allocations: 11.94 kB / 4.838 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/12.28, allocations: 99.48 kB / 4.838 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/12.28, allocations: 23.98 kB / 4.838 GB, free: 107.2 MB / 0.948 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 () * 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.0001305/12.28, allocations: 150.5 kB / 4.838 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/12.28, allocations: 94.78 kB / 4.838 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/12.28, allocations: 470.9 kB / 4.838 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/12.28, allocations: 4 kB / 4.838 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/12.28, allocations: 0 / 4.838 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/12.28, allocations: 0 / 4.838 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/12.28, allocations: 1.354 MB / 4.84 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/12.28, allocations: 4 kB / 4.84 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/12.28, allocations: 68.17 kB / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/12.28, allocations: 7.953 kB / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/12.28, allocations: 15.92 kB / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/12.28, allocations: 4 kB / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/12.28, allocations: 0 / 4.84 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006417/12.29, allocations: 0.6537 MB / 4.84 GB, free: 104.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/12.29, allocations: 223.8 kB / 4.841 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/12.29, allocations: 8 kB / 4.841 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/12.29, allocations: 55.8 kB / 4.841 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/12.29, allocations: 31.95 kB / 4.841 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/12.29, allocations: 8 kB / 4.841 GB, free: 103.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009461/12.29, allocations: 0.7766 MB / 4.841 GB, free: 103 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/12.29, allocations: 0 / 4.841 GB, free: 103 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001634/12.29, allocations: 483.6 kB / 4.842 GB, free: 102.6 MB / 0.948 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) * 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.001694/12.29, allocations: 0.9009 MB / 4.843 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009709/12.29, allocations: 0.7703 MB / 4.844 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/12.29, allocations: 4.125 kB / 4.844 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002354/12.29, allocations: 187.7 kB / 4.844 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/12.29, allocations: 449.2 kB / 4.844 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/12.3, allocations: 1.364 MB / 4.845 GB, free: 98.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/12.3, allocations: 1.199 MB / 4.847 GB, free: 97.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002002/12.3, allocations: 0.8309 MB / 4.847 GB, free: 96.79 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/12.3, allocations: 55.42 kB / 4.848 GB, free: 96.74 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/12.3, allocations: 4 kB / 4.848 GB, free: 96.73 MB / 0.948 GB Notification: Performance of Templates: time 0.04039/12.34, allocations: 31.1 MB / 4.878 GB, free: 65.74 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)