Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002028/0.002028, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5974/0.5974, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008081/0.0008081, allocations: 91.48 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.441e-06/5.471e-06, allocations: 3.125 kB / 0.5528 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 82.29 MB / 0.6332 GB, free: 14.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7521/0.8588, allocations: 418.4 MB / 1.042 GB, free: 210.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001691/0.859, allocations: 68.81 kB / 1.042 GB, free: 210.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.07464/0.9337, allocations: 35.93 MB / 1.077 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9337, allocations: 4 kB / 1.077 GB, free: 176.9 MB / 0.6823 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.0003269/0.9341, allocations: 362.4 kB / 1.077 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.9341, allocations: 8.031 kB / 1.077 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.9343, allocations: 19.89 kB / 1.077 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.9343, allocations: 167 kB / 1.077 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.9344, allocations: 3.984 kB / 1.077 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.9344, allocations: 7.906 kB / 1.077 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.163e-05/0.9345, allocations: 11.98 kB / 1.077 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.9345, allocations: 53.67 kB / 1.078 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.9345, allocations: 0 / 1.078 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.9346, allocations: 0 / 1.078 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.9346, allocations: 8 kB / 1.078 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.9347, allocations: 134.1 kB / 1.078 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.9347, allocations: 45.64 kB / 1.078 GB, free: 176 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.9348, allocations: 20.8 kB / 1.078 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008616/0.9434, allocations: 3.093 MB / 1.081 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.9434, allocations: 38.55 kB / 1.081 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.9434, allocations: 0 / 1.081 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02155/0.965, allocations: 6.477 MB / 1.087 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.399e-05/0.965, allocations: 51.41 kB / 1.087 GB, free: 166 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.468e-05/0.9651, allocations: 89 kB / 1.087 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.9651, allocations: 25.7 kB / 1.087 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.194e-05/0.9651, allocations: 84.27 kB / 1.087 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.9651, allocations: 35.45 kB / 1.087 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.9651, allocations: 0 / 1.087 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.9652, allocations: 318.8 kB / 1.088 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.9652, allocations: 16 kB / 1.088 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.9652, allocations: 20 kB / 1.088 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.9653, allocations: 27.23 kB / 1.088 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.9653, allocations: 3.906 kB / 1.088 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001743/0.9655, allocations: 93.61 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.9655, allocations: 7.938 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.9655, allocations: 4 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9655, allocations: 4 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.9656, allocations: 23.98 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.9657, allocations: 3.906 kB / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.9657, allocations: 0 / 1.088 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.9657, allocations: 4 kB / 1.088 GB, free: 165.3 MB / 0.6823 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 4.141e-05/0.9657, allocations: 105 kB / 1.088 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.9658, allocations: 15.83 kB / 1.088 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.9661, allocations: 125.3 kB / 1.088 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.9661, allocations: 0 / 1.088 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.9661, allocations: 3.984 kB / 1.088 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.9661, allocations: 0 / 1.088 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.9662, allocations: 138.2 kB / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9662, allocations: 7.906 kB / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.9663, allocations: 31.97 kB / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9663, allocations: 0 / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.9663, allocations: 0 / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9663, allocations: 0 / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9663, allocations: 7.938 kB / 1.088 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002072/0.9665, allocations: 140.9 kB / 1.088 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.9666, allocations: 93 kB / 1.089 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.9666, allocations: 3.984 kB / 1.089 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.9668, allocations: 16 kB / 1.089 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.9668, allocations: 3.984 kB / 1.089 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.9668, allocations: 8 kB / 1.089 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.291e-05/0.9668, allocations: 83.27 kB / 1.089 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001247/0.9681, allocations: 0.5857 MB / 1.089 GB, free: 163.8 MB / 0.6823 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.003161/0.9712, allocations: 0.8343 MB / 1.09 GB, free: 163 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.9714, allocations: 60.03 kB / 1.09 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9714, allocations: 0 / 1.09 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.9714, allocations: 35.88 kB / 1.09 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.9715, allocations: 7.906 kB / 1.09 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.9719, allocations: 259 kB / 1.09 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.9721, allocations: 0.7153 MB / 1.091 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/0.9721, allocations: 0 / 1.091 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.02839/1, allocations: 28.23 MB / 1.119 GB, free: 133.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)