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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 103.2 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 198 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3484, allocations: 80.19 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002031/0.3505, allocations: 1.256 MB / 0.5827 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1355/0.486, allocations: 137.7 MB / 0.7172 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.4861, allocations: 0 / 0.7172 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.4861, allocations: 7.922 kB / 0.7172 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.766e-05/0.4863, allocations: 3.984 kB / 0.7172 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.4875, allocations: 466.3 kB / 0.7177 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.4876, allocations: 43.78 kB / 0.7177 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.4877, allocations: 4 kB / 0.7177 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.4877, allocations: 15.98 kB / 0.7177 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.4878, allocations: 23.91 kB / 0.7178 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.4878, allocations: 4 kB / 0.7178 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.4892, allocations: 0.8348 MB / 0.7186 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.4892, allocations: 11.97 kB / 0.7186 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.4893, allocations: 11.94 kB / 0.7186 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.4898, allocations: 444.8 kB / 0.719 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4898, allocations: 4 kB / 0.719 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4899, allocations: 4 kB / 0.719 GB, free: 0.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4899, allocations: 0 / 0.719 GB, free: 0.875 MB / 0.545 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.0004965/0.4904, allocations: 363.5 kB / 0.7194 GB, free: 484 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4904, allocations: 12.03 kB / 0.7194 GB, free: 472 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.4906, allocations: 12.92 kB / 0.7194 GB, free: 460 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.4907, allocations: 160.4 kB / 0.7195 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.4907, allocations: 4.375 kB / 0.7196 GB, free: 256 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.4908, allocations: 12.03 kB / 0.7196 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.4909, allocations: 65.59 kB / 0.7196 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4909, allocations: 0 / 0.7196 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4909, allocations: 4 kB / 0.7196 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.491, allocations: 0 / 0.7196 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.491, allocations: 15.98 kB / 0.7196 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.4912, allocations: 165.7 kB / 0.7198 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.919e-05/0.4913, allocations: 54.5 kB / 0.7199 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.4914, allocations: 20.8 kB / 0.7199 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01041/0.5018, allocations: 3.205 MB / 0.723 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5018, allocations: 34.56 kB / 0.723 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.5018, allocations: 3.938 kB / 0.723 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03867/0.5405, allocations: 14.99 MB / 0.7377 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5406, allocations: 55.39 kB / 0.7377 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.64e-05/0.5407, allocations: 93.86 kB / 0.7378 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5407, allocations: 29.7 kB / 0.7378 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.5408, allocations: 84.08 kB / 0.7379 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.5408, allocations: 43.38 kB / 0.738 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.5409, allocations: 29.72 kB / 0.738 GB, free: 13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.541, allocations: 326.9 kB / 0.7383 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.293e-05/0.541, allocations: 23.98 kB / 0.7383 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.5411, allocations: 20 kB / 0.7384 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.5412, allocations: 64.78 kB / 0.7384 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5412, allocations: 4 kB / 0.7384 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002165/0.5415, allocations: 108.8 kB / 0.7385 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5415, allocations: 10.64 kB / 0.7385 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5415, allocations: 0 / 0.7385 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5415, allocations: 0 / 0.7385 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.5417, allocations: 31.94 kB / 0.7386 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5417, allocations: 0 / 0.7386 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.5417, allocations: 7.984 kB / 0.7386 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5417, allocations: 4 kB / 0.7386 GB, free: 12.4 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.5418, allocations: 117.8 kB / 0.7387 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.5419, allocations: 4 kB / 0.7387 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.5422, allocations: 137.4 kB / 0.7388 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5422, allocations: 0 / 0.7388 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5422, allocations: 0 / 0.7388 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5422, allocations: 0 / 0.7388 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.5424, allocations: 173.6 kB / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5424, allocations: 0 / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5425, allocations: 27.98 kB / 0.739 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5425, allocations: 0 / 0.739 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5425, allocations: 4 kB / 0.739 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.5425, allocations: 80 / 0.739 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5425, allocations: 7.984 kB / 0.739 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.5428, allocations: 164.1 kB / 0.7392 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.5429, allocations: 89.05 kB / 0.7393 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.543, allocations: 4 kB / 0.7393 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5431, allocations: 11.98 kB / 0.7393 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.5431, allocations: 15.98 kB / 0.7393 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5432, allocations: 4 kB / 0.7393 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.505e-05/0.5432, allocations: 79.28 kB / 0.7394 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5432, allocations: 0 / 0.7394 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001725/0.5449, allocations: 0.5663 MB / 0.7399 GB, free: 10.91 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00268/0.5476, allocations: 351 kB / 0.7403 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.5478, allocations: 63.92 kB / 0.7403 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5478, allocations: 0 / 0.7403 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.5479, allocations: 39.92 kB / 0.7404 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5481, allocations: 19.94 kB / 0.7404 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005977/0.5487, allocations: 349.9 kB / 0.7407 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5489, allocations: 0.6851 MB / 0.7414 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.015e-05/0.549, allocations: 24.53 kB / 0.7414 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.549, allocations: 15.44 kB / 0.7414 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5491, allocations: 0 / 0.7414 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of Templates: time 0.2962/0.8452, allocations: 24.25 MB / 0.7651 GB, free: 153.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)