Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003209/0.003209, allocations: 183.5 kB / 7.459 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6844/0.6844, allocations: 130.6 MB / 138.5 MB, free: 2.176 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 221.3 MB / 391.4 MB, free: 13.06 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.001045/0.001045, allocations: 106.1 kB / 473.5 MB, free: 14.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.11e-05/1.113e-05, allocations: 1.812 kB / 0.5479 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1821, allocations: 81.57 MB / 0.6276 GB, free: 18.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.444, allocations: 418.1 MB / 1.036 GB, free: 191.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/1.444, allocations: 71.97 kB / 1.036 GB, free: 191.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.08262/1.527, allocations: 35.92 MB / 1.071 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.527, allocations: 0 / 1.071 GB, free: 155.7 MB / 0.6667 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.0005957/1.527, allocations: 366.4 kB / 1.071 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.527, allocations: 8.031 kB / 1.071 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/1.528, allocations: 15.89 kB / 1.071 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/1.528, allocations: 159.1 kB / 1.072 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.528, allocations: 4 kB / 1.072 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/1.528, allocations: 7.906 kB / 1.072 GB, free: 155.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8e-05/1.528, allocations: 27.92 kB / 1.072 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.69e-05/1.528, allocations: 49.67 kB / 1.072 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/1.528, allocations: 7.922 kB / 1.072 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.528, allocations: 0 / 1.072 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.528, allocations: 0 / 1.072 GB, free: 155 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/1.528, allocations: 142.1 kB / 1.072 GB, free: 154.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/1.528, allocations: 37.7 kB / 1.072 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/1.528, allocations: 16.86 kB / 1.072 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01/1.538, allocations: 3.093 MB / 1.075 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1.538, allocations: 38.5 kB / 1.075 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/1.538, allocations: 0 / 1.075 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.02468/1.563, allocations: 6.476 MB / 1.081 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/1.563, allocations: 55.41 kB / 1.081 GB, free: 144.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/1.563, allocations: 85 kB / 1.081 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/1.563, allocations: 25.7 kB / 1.081 GB, free: 144.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/1.563, allocations: 84.08 kB / 1.081 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/1.563, allocations: 43.45 kB / 1.081 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/1.563, allocations: 0 / 1.081 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/1.563, allocations: 310.8 kB / 1.082 GB, free: 144.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/1.563, allocations: 28.11 kB / 1.082 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/1.563, allocations: 22.06 kB / 1.082 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/1.564, allocations: 19.98 kB / 1.082 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.564, allocations: 3.906 kB / 1.082 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002083/1.564, allocations: 93.67 kB / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.564, allocations: 4 kB / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/1.564, allocations: 0 / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.564, allocations: 0 / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.564, allocations: 27.92 kB / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.564, allocations: 3.906 kB / 1.082 GB, free: 144.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/1.564, allocations: 8 kB / 1.082 GB, free: 144 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.564, allocations: 4 kB / 1.082 GB, free: 144 MB / 0.6667 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 6.274e-05/1.564, allocations: 105 kB / 1.082 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/1.564, allocations: 7.906 kB / 1.082 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/1.565, allocations: 125.2 kB / 1.082 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.565, allocations: 4 kB / 1.082 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.565, allocations: 0 / 1.082 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/1.565, allocations: 0 / 1.082 GB, free: 143.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/1.565, allocations: 146.2 kB / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.565, allocations: 7.906 kB / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/1.565, allocations: 27.92 kB / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/1.565, allocations: 0 / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/1.565, allocations: 7.984 kB / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/1.565, allocations: 4.234 kB / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.565, allocations: 0 / 1.082 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002498/1.565, allocations: 133 kB / 1.083 GB, free: 143.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/1.565, allocations: 105 kB / 1.083 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.565, allocations: 4 kB / 1.083 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.565, allocations: 11.98 kB / 1.083 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/1.565, allocations: 7.984 kB / 1.083 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.565, allocations: 4 kB / 1.083 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.792e-05/1.565, allocations: 75.28 kB / 1.083 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002346/1.568, allocations: 0.5975 MB / 1.083 GB, free: 142.6 MB / 0.6667 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.004626/1.572, allocations: 0.8276 MB / 1.084 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000167/1.573, allocations: 55.98 kB / 1.084 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.573, allocations: 0 / 1.084 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/1.573, allocations: 40.25 kB / 1.084 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/1.573, allocations: 7.906 kB / 1.084 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/1.573, allocations: 267.2 kB / 1.084 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/1.574, allocations: 0.7036 MB / 1.085 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of SimCode: time 6.71e-07/1.574, allocations: 0 / 1.085 GB, free: 140.6 MB / 0.6667 GB Notification: Performance of Templates: time 0.04515/1.619, allocations: 28.23 MB / 1.113 GB, free: 112.4 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)