Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck") [: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.001043/0.001043, allocations: 188.8 kB / 7.806 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4377/0.4377, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.162/1.162, allocations: 221.4 MB / 342.8 MB, free: 5.242 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.0008734/0.0008733, allocations: 98.48 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.741e-06, allocations: 0 / 493.8 MB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3002, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.804/1.104, allocations: 408.6 MB / 0.9519 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/1.104, allocations: 70.11 kB / 0.9519 GB, free: 209.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.07902/1.183, allocations: 35.94 MB / 0.987 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.011e-06/1.184, allocations: 0 / 0.987 GB, free: 202.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003981/1.184, allocations: 364.8 kB / 0.9874 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.184, allocations: 10.03 kB / 0.9874 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.184, allocations: 14.47 kB / 0.9874 GB, free: 202.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/1.184, allocations: 159.1 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/1.184, allocations: 1.969 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/1.184, allocations: 6.5 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.705e-05/1.184, allocations: 17.75 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/1.185, allocations: 57.28 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/1.185, allocations: 0 / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.185, allocations: 0 / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/1.185, allocations: 3.531 kB / 0.9876 GB, free: 202.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/1.185, allocations: 140.9 kB / 0.9878 GB, free: 202 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.724e-05/1.185, allocations: 44.62 kB / 0.9878 GB, free: 202 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/1.185, allocations: 10.86 kB / 0.9878 GB, free: 202 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009632/1.194, allocations: 3.093 MB / 0.9909 GB, free: 201.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/1.195, allocations: 48.19 kB / 0.9909 GB, free: 201 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.195, allocations: 0 / 0.9909 GB, free: 201 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.02279/1.217, allocations: 6.476 MB / 0.9972 GB, free: 195.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/1.217, allocations: 51.41 kB / 0.9973 GB, free: 195.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.072e-05/1.217, allocations: 93 kB / 0.9974 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/1.217, allocations: 25.7 kB / 0.9974 GB, free: 195.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/1.217, allocations: 84.14 kB / 0.9975 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/1.217, allocations: 35.31 kB / 0.9975 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/1.217, allocations: 0 / 0.9975 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/1.218, allocations: 322.3 kB / 0.9978 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/1.218, allocations: 16 kB / 0.9978 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/1.218, allocations: 16 kB / 0.9978 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/1.218, allocations: 27.73 kB / 0.9979 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.218, allocations: 0 / 0.9979 GB, free: 194.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001783/1.218, allocations: 89.2 kB / 0.9979 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.218, allocations: 4 kB / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/1.218, allocations: 0 / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.218, allocations: 3.906 kB / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.218, allocations: 27.64 kB / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.218, allocations: 4 kB / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/1.218, allocations: 0 / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/1.218, allocations: 7.609 kB / 0.998 GB, free: 194.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * Array equations: 0 * 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 5.184e-05/1.218, allocations: 105 kB / 0.9981 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/1.218, allocations: 7.906 kB / 0.9981 GB, free: 194.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/1.219, allocations: 131.3 kB / 0.9982 GB, free: 194.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.219, allocations: 4 kB / 0.9982 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.219, allocations: 0 / 0.9982 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.219, allocations: 6.578 kB / 0.9982 GB, free: 194.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.734e-05/1.219, allocations: 145.2 kB / 0.9984 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.219, allocations: 0 / 0.9984 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.219, allocations: 27.33 kB / 0.9984 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.219, allocations: 4 kB / 0.9984 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.219, allocations: 4 kB / 0.9984 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.219, allocations: 0 / 0.9984 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.219, allocations: 0 / 0.9984 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002229/1.219, allocations: 146.4 kB / 0.9985 GB, free: 194.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/1.219, allocations: 100.3 kB / 0.9986 GB, free: 194 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/1.219, allocations: 3.328 kB / 0.9986 GB, free: 194 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.219, allocations: 12 kB / 0.9987 GB, free: 194 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/1.219, allocations: 7.656 kB / 0.9987 GB, free: 194 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/1.219, allocations: 11.7 kB / 0.9987 GB, free: 194 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.426e-05/1.219, allocations: 75.28 kB / 0.9987 GB, free: 193.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002191/1.222, allocations: 0.5928 MB / 0.9993 GB, free: 193.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * 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.003248/1.225, allocations: 0.8299 MB / 1 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.225, allocations: 59.78 kB / 1 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.225, allocations: 0 / 1 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/1.225, allocations: 27.94 kB / 1 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/1.225, allocations: 11.91 kB / 1 GB, free: 192.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/1.225, allocations: 261.3 kB / 1 GB, free: 192.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/1.226, allocations: 0.7147 MB / 1.001 GB, free: 191.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/1.226, allocations: 0 / 1.001 GB, free: 191.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.03313/1.259, allocations: 28.23 MB / 1.029 GB, free: 170.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)