Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5163/0.5163, allocations: 90.91 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 103.4 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.867e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1614, allocations: 72.32 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.584/4.745, allocations: 1.822 GB / 2.376 GB, free: 112.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/4.746, allocations: 87.95 kB / 2.376 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.601/11.35, allocations: 1.782 GB / 4.158 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/11.35, allocations: 0 / 4.158 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001747/11.35, allocations: 35.25 kB / 4.158 GB, free: 159.8 MB / 0.6042 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.002554/11.35, allocations: 1.136 MB / 4.159 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/11.35, allocations: 11.41 kB / 4.159 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/11.35, allocations: 183.3 kB / 4.159 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/11.35, allocations: 1.071 MB / 4.16 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/11.35, allocations: 15.03 kB / 4.16 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/11.35, allocations: 43.66 kB / 4.16 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006576/11.35, allocations: 472.3 kB / 4.161 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/11.35, allocations: 0.6753 MB / 4.161 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/11.35, allocations: 1.688 kB / 4.161 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/11.35, allocations: 6.547 kB / 4.161 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/11.35, allocations: 19.2 kB / 4.161 GB, free: 158.6 MB / 0.6042 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.003025/11.36, allocations: 4.469 MB / 4.166 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/11.36, allocations: 447.4 kB / 4.166 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/11.36, allocations: 238.8 kB / 4.166 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/11.36, allocations: 190.4 kB / 4.166 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/11.36, allocations: 260.9 kB / 4.167 GB, free: 155 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.813e-06/11.36, allocations: 2.969 kB / 4.167 GB, free: 155 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0009067/11.36, allocations: 492.9 kB / 4.167 GB, free: 154.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/11.36, allocations: 78.98 kB / 4.167 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/11.36, allocations: 0.8519 MB / 4.168 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/11.36, allocations: 28.92 kB / 4.168 GB, free: 154.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/11.36, allocations: 496.6 kB / 4.169 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.878e-05/11.36, allocations: 109.6 kB / 4.169 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.922e-05/11.36, allocations: 0 / 4.169 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/11.36, allocations: 323.7 kB / 4.169 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/11.36, allocations: 179.1 kB / 4.169 GB, free: 154.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/11.36, allocations: 0.5017 MB / 4.17 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/11.36, allocations: 276.5 kB / 4.17 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/11.36, allocations: 0 / 4.17 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007322/11.36, allocations: 0.6013 MB / 4.17 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004512/11.36, allocations: 2.128 MB / 4.173 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/11.36, allocations: 6.25 kB / 4.173 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/11.36, allocations: 9.188 kB / 4.173 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/11.36, allocations: 112 kB / 4.173 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/11.36, allocations: 11.34 kB / 4.173 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/11.36, allocations: 87.64 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/11.36, allocations: 29 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/11.36, allocations: 4.344 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005392/11.36, allocations: 413.8 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/11.36, allocations: 6.75 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/11.36, allocations: 9.344 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/11.37, allocations: 111.7 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/11.37, allocations: 12.28 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/11.37, allocations: 82.31 kB / 4.173 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/11.37, allocations: 24.09 kB / 4.173 GB, free: 151.4 MB / 0.6042 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.0001188/11.37, allocations: 129.4 kB / 4.174 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/11.37, allocations: 99.56 kB / 4.174 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/11.37, allocations: 449.3 kB / 4.174 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/11.37, allocations: 3.844 kB / 4.174 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/11.37, allocations: 0 / 4.174 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/11.37, allocations: 3.844 kB / 4.174 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/11.37, allocations: 1.258 MB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/11.37, allocations: 3.938 kB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/11.37, allocations: 67.11 kB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/11.37, allocations: 3.906 kB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/11.37, allocations: 10.23 kB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/11.37, allocations: 4.5 kB / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/11.37, allocations: 0 / 4.175 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/11.37, allocations: 0.6305 MB / 4.176 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/11.37, allocations: 212.2 kB / 4.176 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/11.37, allocations: 6.891 kB / 4.176 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/11.37, allocations: 51.25 kB / 4.176 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/11.37, allocations: 38.91 kB / 4.176 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/11.37, allocations: 13.7 kB / 4.176 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006798/11.37, allocations: 0.6625 MB / 4.177 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/11.37, allocations: 0 / 4.177 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001224/11.37, allocations: 446.5 kB / 4.177 GB, free: 150.2 MB / 0.6042 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.001467/11.37, allocations: 1.028 MB / 4.178 GB, free: 150 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009992/11.37, allocations: 0.7571 MB / 4.179 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/11.37, allocations: 0 / 4.179 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002541/11.37, allocations: 181.3 kB / 4.179 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/11.38, allocations: 392.7 kB / 4.18 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/11.38, allocations: 1.323 MB / 4.181 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/11.38, allocations: 1.201 MB / 4.182 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001828/11.38, allocations: 0.759 MB / 4.183 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/11.38, allocations: 48.56 kB / 4.183 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/11.38, allocations: 0 / 4.183 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.02849/11.41, allocations: 19.87 MB / 4.202 GB, free: 147.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)