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.0009999/0.001, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001044/0.001044, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.28/1.28, allocations: 222.9 MB / 240.6 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7623/0.7623, allocations: 132.2 MB / 422.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 59.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.393, allocations: 80.18 MB / 0.5802 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002132/0.3952, allocations: 1.325 MB / 0.5815 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.133/0.5283, allocations: 135.7 MB / 0.7141 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.5283, allocations: 0 / 0.7141 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.5284, allocations: 7.922 kB / 0.7141 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.5285, allocations: 0 / 0.7141 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.5297, allocations: 406.7 kB / 0.7145 GB, free: 4.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.833e-05/0.5297, allocations: 43.84 kB / 0.7145 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5298, allocations: 4 kB / 0.7145 GB, free: 4.496 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.5299, allocations: 19.97 kB / 0.7145 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.5299, allocations: 19.92 kB / 0.7145 GB, free: 4.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.5299, allocations: 7.984 kB / 0.7145 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.5312, allocations: 0.8075 MB / 0.7153 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.5312, allocations: 11.98 kB / 0.7153 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.5313, allocations: 15.92 kB / 0.7154 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.5316, allocations: 297.4 kB / 0.7156 GB, free: 3.324 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5316, allocations: 0 / 0.7156 GB, free: 3.324 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5316, allocations: 4 kB / 0.7156 GB, free: 3.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5316, allocations: 3.938 kB / 0.7156 GB, free: 3.316 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.0004786/0.5321, allocations: 379.5 kB / 0.716 GB, free: 2.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.5322, allocations: 8.031 kB / 0.716 GB, free: 2.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.5323, allocations: 12.94 kB / 0.716 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.5325, allocations: 160.4 kB / 0.7162 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5325, allocations: 4.375 kB / 0.7162 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5325, allocations: 16.03 kB / 0.7162 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5327, allocations: 57.61 kB / 0.7163 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5327, allocations: 3.938 kB / 0.7163 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5327, allocations: 0 / 0.7163 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5327, allocations: 0 / 0.7163 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.746e-05/0.5328, allocations: 31.89 kB / 0.7163 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.533, allocations: 165.7 kB / 0.7164 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.5331, allocations: 46.56 kB / 0.7165 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.5331, allocations: 24.78 kB / 0.7165 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.5432, allocations: 3.166 MB / 0.7196 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5433, allocations: 34.56 kB / 0.7196 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.5433, allocations: 0 / 0.7196 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0387/0.582, allocations: 14.86 MB / 0.7342 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5821, allocations: 55.41 kB / 0.7342 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.5821, allocations: 89.86 kB / 0.7343 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5822, allocations: 29.7 kB / 0.7343 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.5822, allocations: 84.14 kB / 0.7344 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5822, allocations: 39.39 kB / 0.7344 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.5823, allocations: 33.7 kB / 0.7345 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5824, allocations: 322.9 kB / 0.7348 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.5825, allocations: 23.98 kB / 0.7348 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.5825, allocations: 27.48 kB / 0.7348 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.5826, allocations: 56.86 kB / 0.7349 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5827, allocations: 0 / 0.7349 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002007/0.5829, allocations: 109.5 kB / 0.735 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5829, allocations: 4 kB / 0.735 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5829, allocations: 0 / 0.735 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5829, allocations: 7.938 kB / 0.735 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.583, allocations: 27.98 kB / 0.735 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.583, allocations: 4 kB / 0.735 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.5831, allocations: 0 / 0.735 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.5831, allocations: 8 kB / 0.735 GB, free: 15 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.573e-05/0.5832, allocations: 121.7 kB / 0.7352 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.5832, allocations: 0 / 0.7352 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.5835, allocations: 125.5 kB / 0.7353 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5835, allocations: 0 / 0.7353 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.5835, allocations: 11.97 kB / 0.7353 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5835, allocations: 0 / 0.7353 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5837, allocations: 177.6 kB / 0.7355 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5837, allocations: 0 / 0.7355 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5838, allocations: 27.98 kB / 0.7355 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5838, allocations: 0 / 0.7355 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5838, allocations: 7.938 kB / 0.7355 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5838, allocations: 4 kB / 0.7355 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5838, allocations: 4 kB / 0.7355 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.5841, allocations: 152.9 kB / 0.7356 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.5842, allocations: 93 kB / 0.7357 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.5842, allocations: 4 kB / 0.7357 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5844, allocations: 11.98 kB / 0.7357 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.5844, allocations: 12 kB / 0.7358 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.5844, allocations: 4 kB / 0.7358 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.311e-05/0.5844, allocations: 83.2 kB / 0.7358 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5845, allocations: 0 / 0.7358 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001596/0.5861, allocations: 0.5663 MB / 0.7364 GB, free: 13.5 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.002742/0.5888, allocations: 351.1 kB / 0.7367 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.589, allocations: 75.91 kB / 0.7368 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.589, allocations: 3.938 kB / 0.7368 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.987e-05/0.5891, allocations: 35.98 kB / 0.7368 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.5893, allocations: 11.94 kB / 0.7369 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005857/0.5899, allocations: 382.2 kB / 0.7372 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.5901, allocations: 0.6885 MB / 0.7379 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.5901, allocations: 19.44 kB / 0.7379 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.5902, allocations: 0 / 0.7379 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.2881/0.8782, allocations: 14.31 MB / 0.7519 GB, free: 151.3 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)