Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.001975/0.001975, allocations: 185.1 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4728/0.4728, allocations: 90.86 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.401/1.401, allocations: 221.4 MB / 342.8 MB, free: 5.406 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.0009555/0.0009555, allocations: 98 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.495e-06/8.526e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4961, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.847/4.343, allocations: 1.822 GB / 2.375 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/4.344, allocations: 89.2 kB / 2.375 GB, free: 3.496 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.461/7.804, allocations: 0.9688 GB / 3.344 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001789/7.805, allocations: 35.12 kB / 3.344 GB, free: 167.5 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.002859/7.807, allocations: 1.131 MB / 3.345 GB, free: 167 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/7.807, allocations: 15.34 kB / 3.345 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/7.809, allocations: 189.8 kB / 3.345 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/7.811, allocations: 1.084 MB / 3.346 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/7.811, allocations: 15.81 kB / 3.346 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/7.811, allocations: 44.78 kB / 3.346 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007006/7.812, allocations: 492.9 kB / 3.346 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008029/7.813, allocations: 0.6885 MB / 3.347 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/7.813, allocations: 5.906 kB / 3.347 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/7.813, allocations: 3.812 kB / 3.347 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/7.813, allocations: 11.41 kB / 3.347 GB, free: 166.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/7.816, allocations: 4.672 MB / 3.352 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/7.816, allocations: 446.8 kB / 3.352 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/7.817, allocations: 254.7 kB / 3.352 GB, free: 163 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/7.817, allocations: 196.4 kB / 3.353 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/7.817, allocations: 264.2 kB / 3.353 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/7.817, allocations: 0 / 3.353 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.000911/7.818, allocations: 0.4899 MB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/7.818, allocations: 91.31 kB / 3.353 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000898/7.819, allocations: 0.8709 MB / 3.354 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/7.819, allocations: 29.67 kB / 3.354 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/7.82, allocations: 344.7 kB / 3.355 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/7.82, allocations: 96.5 kB / 3.355 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/7.82, allocations: 0 / 3.355 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/7.82, allocations: 330.3 kB / 3.355 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/7.82, allocations: 191.7 kB / 3.355 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/7.82, allocations: 0.5045 MB / 3.356 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/7.821, allocations: 278.7 kB / 3.356 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/7.821, allocations: 0 / 3.356 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007555/7.821, allocations: 0.6211 MB / 3.357 GB, free: 161.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/7.822, allocations: 2.099 MB / 3.359 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/7.822, allocations: 3.969 kB / 3.359 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/7.822, allocations: 10.78 kB / 3.359 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/7.824, allocations: 275.9 kB / 3.359 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/7.826, allocations: 6.239 MB / 3.365 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/7.827, allocations: 89.22 kB / 3.365 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/7.827, allocations: 23.94 kB / 3.365 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/7.827, allocations: 4.406 kB / 3.365 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005327/7.828, allocations: 416.6 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/7.828, allocations: 3.844 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/7.828, allocations: 11.03 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/7.828, allocations: 152 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/7.828, allocations: 9.406 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/7.829, allocations: 85.38 kB / 3.366 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/7.829, allocations: 28.09 kB / 3.366 GB, free: 153.3 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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/7.829, allocations: 129 kB / 3.366 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/7.829, allocations: 94.34 kB / 3.366 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/7.83, allocations: 456.3 kB / 3.366 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/7.83, allocations: 3.844 kB / 3.366 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/7.83, allocations: 7.062 kB / 3.366 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/7.83, allocations: 1.594 kB / 3.366 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/7.832, allocations: 1.273 MB / 3.368 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/7.832, allocations: 3.906 kB / 3.368 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/7.832, allocations: 172.2 kB / 3.368 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/7.832, allocations: 2.812 kB / 3.368 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/7.832, allocations: 7.281 kB / 3.368 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/7.834, allocations: 6.077 MB / 3.374 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.834, allocations: 3.688 kB / 3.374 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005687/7.835, allocations: 0.6427 MB / 3.374 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/7.835, allocations: 219.2 kB / 3.375 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/7.835, allocations: 2.969 kB / 3.375 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/7.836, allocations: 51.67 kB / 3.375 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/7.836, allocations: 27.81 kB / 3.375 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/7.836, allocations: 18.78 kB / 3.375 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007069/7.836, allocations: 0.6821 MB / 3.375 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0015/7.838, allocations: 450.7 kB / 3.376 GB, free: 146.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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/7.84, allocations: 1.04 MB / 3.377 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0032/7.843, allocations: 0.9457 MB / 3.378 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/7.843, allocations: 3.938 kB / 3.378 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008303/7.844, allocations: 287.1 kB / 3.378 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/7.846, allocations: 370.3 kB / 3.378 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/7.85, allocations: 1.377 MB / 3.38 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/7.851, allocations: 1.262 MB / 3.381 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/7.851, allocations: 2.438 kB / 3.381 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.03995/7.891, allocations: 21.96 MB / 3.402 GB, free: 142.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)