Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.00117/0.00117, allocations: 181.3 kB / 7.802 MB, free: 2.328 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4588/0.4588, allocations: 90.86 MB / 99.08 MB, free: 15.06 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.457/1.457, allocations: 221.4 MB / 342.8 MB, free: 5.438 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.001118/0.001118, allocations: 91.39 kB / 415.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.063e-05/1.065e-05, allocations: 4 kB / 493.9 MB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4871, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.96/4.447, allocations: 1.824 GB / 2.377 GB, free: 238.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/4.447, allocations: 92.03 kB / 2.377 GB, free: 238.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.932/7.379, allocations: 0.9809 GB / 3.358 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001509/7.379, allocations: 29.42 kB / 3.358 GB, free: 162.7 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.002712/7.382, allocations: 1.137 MB / 3.359 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/7.382, allocations: 9.531 kB / 3.359 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/7.383, allocations: 190.5 kB / 3.36 GB, free: 162 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/7.386, allocations: 1.12 MB / 3.361 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/7.386, allocations: 15.19 kB / 3.361 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/7.386, allocations: 43.72 kB / 3.361 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009123/7.387, allocations: 485.8 kB / 3.361 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/7.388, allocations: 0.6824 MB / 3.362 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/7.389, allocations: 1.406 kB / 3.362 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/7.389, allocations: 11.56 kB / 3.362 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/7.389, allocations: 14.62 kB / 3.362 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005267/7.394, allocations: 4.674 MB / 3.366 GB, free: 158 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/7.395, allocations: 446.2 kB / 3.367 GB, free: 158 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/7.395, allocations: 248 kB / 3.367 GB, free: 158 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/7.396, allocations: 198.6 kB / 3.367 GB, free: 157.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/7.396, allocations: 264.1 kB / 3.368 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.697e-06/7.396, allocations: 0 / 3.368 GB, free: 157.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.002031/7.398, allocations: 0.7492 MB / 3.368 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/7.398, allocations: 87.94 kB / 3.368 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/7.4, allocations: 0.871 MB / 3.369 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/7.4, allocations: 35.48 kB / 3.369 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/7.4, allocations: 334.1 kB / 3.37 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.397e-05/7.4, allocations: 99 kB / 3.37 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/7.4, allocations: 0 / 3.37 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/7.4, allocations: 333.1 kB / 3.37 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/7.4, allocations: 186.9 kB / 3.37 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/7.401, allocations: 0.5079 MB / 3.371 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/7.401, allocations: 283.5 kB / 3.371 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.401, allocations: 3.969 kB / 3.371 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00148/7.402, allocations: 0.8839 MB / 3.372 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004117/7.403, allocations: 2.098 MB / 3.374 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/7.403, allocations: 7.625 kB / 3.374 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/7.403, allocations: 252.8 kB / 3.374 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/7.404, allocations: 65.19 kB / 3.374 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/7.405, allocations: 1.235 MB / 3.375 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009028/7.406, allocations: 88.39 kB / 3.375 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/7.406, allocations: 24.94 kB / 3.375 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/7.406, allocations: 5.156 kB / 3.375 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009288/7.407, allocations: 0.5786 MB / 3.376 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/7.407, allocations: 8.625 kB / 3.376 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005311/7.408, allocations: 227.3 kB / 3.376 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/7.408, allocations: 62.17 kB / 3.376 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002677/7.41, allocations: 2.741 MB / 3.379 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/7.411, allocations: 80.67 kB / 3.379 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/7.411, allocations: 18.91 kB / 3.379 GB, free: 152.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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001825/7.412, allocations: 132.3 kB / 3.379 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/7.412, allocations: 95.55 kB / 3.379 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/7.413, allocations: 0.6461 MB / 3.38 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/7.413, allocations: 3.25 kB / 3.38 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/7.413, allocations: 2.812 kB / 3.38 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/7.413, allocations: 8.719 kB / 3.38 GB, free: 152 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/7.415, allocations: 1.486 MB / 3.381 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/7.415, allocations: 0 / 3.381 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/7.415, allocations: 27.56 kB / 3.381 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003435/7.415, allocations: 219 kB / 3.382 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/7.415, allocations: 11.47 kB / 3.382 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008528/7.416, allocations: 1.088 MB / 3.383 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/7.416, allocations: 3.844 kB / 3.383 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008541/7.417, allocations: 0.8659 MB / 3.384 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/7.417, allocations: 211.6 kB / 3.384 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/7.418, allocations: 6.438 kB / 3.384 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005247/7.418, allocations: 51.62 kB / 3.384 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/7.418, allocations: 31.06 kB / 3.384 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/7.418, allocations: 9.156 kB / 3.384 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0009325/7.419, allocations: 0.6898 MB / 3.385 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001638/7.421, allocations: 482.4 kB / 3.385 GB, free: 149.6 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001332/7.422, allocations: 1.089 MB / 3.386 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002123/7.424, allocations: 1.037 MB / 3.387 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/7.424, allocations: 3.094 kB / 3.387 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005433/7.425, allocations: 256.3 kB / 3.387 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/7.427, allocations: 380.3 kB / 3.388 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/7.429, allocations: 1.396 MB / 3.389 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/7.43, allocations: 1.261 MB / 3.39 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/7.43, allocations: 0 / 3.39 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.03407/7.464, allocations: 23.04 MB / 3.413 GB, free: 125.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)