Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") [: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.001031/0.001031, allocations: 191.6 kB / 7.806 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4525/0.4525, 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.19/1.19, allocations: 221.4 MB / 342.8 MB, free: 5.125 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.0009325/0.0009328, allocations: 88.75 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.653e-06/6.672e-06, allocations: 0 / 493.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 72.29 MB / 0.5529 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5805/0.8946, allocations: 401.6 MB / 0.9451 GB, free: 5.445 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.8949, allocations: 83.36 kB / 0.9452 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.4732/1.368, allocations: 85.98 MB / 1.029 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.488e-05/1.368, allocations: 10.16 kB / 1.029 GB, free: 156.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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002808/1.371, allocations: 0.7298 MB / 1.03 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.371, allocations: 8.031 kB / 1.03 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/1.371, allocations: 23.8 kB / 1.03 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/1.372, allocations: 214 kB / 1.03 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/1.372, allocations: 4 kB / 1.03 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/1.372, allocations: 12 kB / 1.03 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004368/1.372, allocations: 409.3 kB / 1.031 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/1.372, allocations: 218.1 kB / 1.031 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.372, allocations: 0 / 1.031 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/1.372, allocations: 3.906 kB / 1.031 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.372, allocations: 8 kB / 1.031 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/1.373, allocations: 0.9778 MB / 1.032 GB, free: 154.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/1.374, allocations: 149.5 kB / 1.032 GB, free: 154 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/1.374, allocations: 52.39 kB / 1.032 GB, free: 154 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.375, allocations: 1.946 MB / 1.034 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/1.375, allocations: 46.25 kB / 1.034 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/1.375, allocations: 0 / 1.034 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0005065/1.375, allocations: 135.2 kB / 1.034 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.519e-05/1.375, allocations: 51.41 kB / 1.034 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/1.375, allocations: 137.5 kB / 1.034 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.375, allocations: 25.7 kB / 1.034 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/1.375, allocations: 142.7 kB / 1.034 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/1.375, allocations: 58.31 kB / 1.034 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/1.375, allocations: 0 / 1.034 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.402e-05/1.376, allocations: 322.4 kB / 1.035 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/1.376, allocations: 31.31 kB / 1.035 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/1.376, allocations: 132.5 kB / 1.035 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/1.376, allocations: 74.92 kB / 1.035 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.376, allocations: 3.938 kB / 1.035 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004636/1.376, allocations: 211 kB / 1.035 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.376, allocations: 4 kB / 1.035 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.376, allocations: 4 kB / 1.035 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.377, allocations: 8 kB / 1.035 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/1.377, allocations: 55.91 kB / 1.035 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.377, allocations: 5.5 kB / 1.035 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.377, allocations: 31.11 kB / 1.035 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/1.377, allocations: 15.69 kB / 1.035 GB, free: 150.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * 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 6.017e-05/1.377, allocations: 115.6 kB / 1.035 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/1.377, allocations: 15.81 kB / 1.035 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/1.377, allocations: 190.6 kB / 1.036 GB, free: 150 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/1.378, allocations: 4 kB / 1.036 GB, free: 150 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.378, allocations: 0 / 1.036 GB, free: 150 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.378, allocations: 0 / 1.036 GB, free: 150 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/1.378, allocations: 188.6 kB / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.378, allocations: 1.219 kB / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/1.378, allocations: 31.97 kB / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.378, allocations: 0 / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.378, allocations: 4 kB / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.378, allocations: 0 / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.378, allocations: 3.938 kB / 1.036 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003954/1.378, allocations: 242.6 kB / 1.036 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/1.378, allocations: 132.6 kB / 1.036 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/1.378, allocations: 0 / 1.036 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/1.379, allocations: 15.98 kB / 1.036 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/1.379, allocations: 7.984 kB / 1.036 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.379, allocations: 11.81 kB / 1.036 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.255e-05/1.379, allocations: 108.9 kB / 1.036 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000423/1.379, allocations: 89.58 kB / 1.036 GB, free: 149.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002881/1.379, allocations: 238.8 kB / 1.037 GB, free: 149 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001968/1.38, allocations: 99.17 kB / 1.037 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.38, allocations: 4.875 kB / 1.037 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.844e-05/1.38, allocations: 39.8 kB / 1.037 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/1.38, allocations: 37.62 kB / 1.037 GB, free: 148.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/1.38, allocations: 164.6 kB / 1.037 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/1.381, allocations: 0.7473 MB / 1.038 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/1.381, allocations: 0 / 1.038 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.006351/1.387, allocations: 3.826 MB / 1.041 GB, free: 144.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)