Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 180.5 kB / 7.8 MB, free: 2.145 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4569/0.4569, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.4 MB / 342.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 94 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.004e-05, allocations: 4 kB / 493.9 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4816, allocations: 72.3 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.794/4.276, allocations: 1.824 GB / 2.377 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/4.276, allocations: 87.94 kB / 2.377 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.47/9.747, allocations: 1.814 GB / 4.192 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.346e-05/9.747, allocations: 31.98 kB / 4.192 GB, free: 46.92 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001558/9.748, allocations: 1.141 MB / 4.193 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/9.748, allocations: 12.03 kB / 4.193 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007544/9.749, allocations: 186.5 kB / 4.193 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/9.751, allocations: 1.112 MB / 4.194 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/9.751, allocations: 16 kB / 4.194 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/9.751, allocations: 40 kB / 4.194 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006246/9.752, allocations: 485.7 kB / 4.195 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/9.753, allocations: 0.6889 MB / 4.195 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/9.753, allocations: 3.938 kB / 4.195 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/9.753, allocations: 7.906 kB / 4.195 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/9.753, allocations: 12 kB / 4.195 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/9.756, allocations: 4.673 MB / 4.2 GB, free: 38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/9.756, allocations: 446.4 kB / 4.2 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/9.757, allocations: 244.7 kB / 4.2 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/9.757, allocations: 198.2 kB / 4.201 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/9.757, allocations: 260.2 kB / 4.201 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/9.757, allocations: 0 / 4.201 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001603/9.759, allocations: 0.7666 MB / 4.202 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/9.759, allocations: 89.09 kB / 4.202 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/9.759, allocations: 0.8756 MB / 4.203 GB, free: 35.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/9.76, allocations: 25.7 kB / 4.203 GB, free: 35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/9.76, allocations: 339.8 kB / 4.203 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/9.76, allocations: 102.5 kB / 4.203 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/9.76, allocations: 4 kB / 4.203 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/9.76, allocations: 333.9 kB / 4.203 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/9.76, allocations: 188.8 kB / 4.203 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/9.76, allocations: 0.4999 MB / 4.204 GB, free: 33.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/9.761, allocations: 274.1 kB / 4.204 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/9.761, allocations: 0 / 4.204 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00139/9.762, allocations: 0.9038 MB / 4.205 GB, free: 32.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003419/9.762, allocations: 2.093 MB / 4.207 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/9.762, allocations: 4 kB / 4.207 GB, free: 29.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/9.763, allocations: 232.6 kB / 4.207 GB, free: 29.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/9.763, allocations: 63.91 kB / 4.207 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008409/9.764, allocations: 1.141 MB / 4.209 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/9.765, allocations: 91.47 kB / 4.209 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/9.765, allocations: 27.98 kB / 4.209 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.091e-06/9.765, allocations: 4 kB / 4.209 GB, free: 28.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009759/9.766, allocations: 0.5901 MB / 4.209 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/9.766, allocations: 8 kB / 4.209 GB, free: 27.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/9.766, allocations: 208.7 kB / 4.209 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/9.767, allocations: 63.97 kB / 4.21 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/9.769, allocations: 2.765 MB / 4.212 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/9.77, allocations: 75.75 kB / 4.212 GB, free: 24.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/9.77, allocations: 24 kB / 4.212 GB, free: 24.54 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 (34): * Single equations (assignments): 32 * 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.0001745/9.77, allocations: 124.8 kB / 4.212 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/9.771, allocations: 94.78 kB / 4.213 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009961/9.772, allocations: 0.6553 MB / 4.213 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/9.772, allocations: 4 kB / 4.213 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/9.772, allocations: 7.906 kB / 4.213 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/9.772, allocations: 3.984 kB / 4.213 GB, free: 23.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/9.773, allocations: 1.469 MB / 4.215 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/9.773, allocations: 4 kB / 4.215 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/9.774, allocations: 32.2 kB / 4.215 GB, free: 22.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/9.774, allocations: 185 kB / 4.215 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/9.774, allocations: 7.984 kB / 4.215 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006864/9.775, allocations: 1.02 MB / 4.216 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/9.775, allocations: 4 kB / 4.216 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008087/9.775, allocations: 0.849 MB / 4.217 GB, free: 19.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/9.776, allocations: 219.8 kB / 4.217 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/9.776, allocations: 4 kB / 4.217 GB, free: 19.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/9.776, allocations: 51.86 kB / 4.217 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/9.776, allocations: 27.95 kB / 4.217 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/9.777, allocations: 11.91 kB / 4.217 GB, free: 19.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006999/9.777, allocations: 0.6886 MB / 4.218 GB, free: 18.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001533/9.779, allocations: 483.4 kB / 4.218 GB, free: 18.39 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/9.78, allocations: 1.113 MB / 4.219 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001269/9.781, allocations: 0.913 MB / 4.22 GB, free: 16.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/9.781, allocations: 0 / 4.22 GB, free: 16.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/9.782, allocations: 214.3 kB / 4.22 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/9.783, allocations: 372.2 kB / 4.221 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/9.785, allocations: 1.39 MB / 4.222 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/9.786, allocations: 1.259 MB / 4.223 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/9.786, allocations: 0 / 4.223 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.2501/10.04, allocations: 23.37 MB / 4.246 GB, free: 202.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)