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.0009819/0.0009817, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005771/0.005771, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 12 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4274, allocations: 81.57 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00127/0.4287, allocations: 0.9976 MB / 0.5846 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1675/0.5962, allocations: 134.3 MB / 0.7157 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.5963, allocations: 0 / 0.7157 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.5964, allocations: 11.92 kB / 0.7157 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.5965, allocations: 7.922 kB / 0.7158 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.5982, allocations: 366.8 kB / 0.7161 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.42e-05/0.5983, allocations: 39.84 kB / 0.7161 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.5984, allocations: 7.938 kB / 0.7162 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.5985, allocations: 15.98 kB / 0.7162 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.789e-05/0.5985, allocations: 27.91 kB / 0.7162 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.5986, allocations: 4 kB / 0.7162 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.6003, allocations: 0.8231 MB / 0.717 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.6003, allocations: 0 / 0.717 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.6004, allocations: 49.61 kB / 0.717 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007711/0.6011, allocations: 445 kB / 0.7175 GB, free: 6.949 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6012, allocations: 4 kB / 0.7175 GB, free: 6.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6012, allocations: 0 / 0.7175 GB, free: 6.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6012, allocations: 0 / 0.7175 GB, free: 6.945 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.0005484/0.6017, allocations: 355.5 kB / 0.7178 GB, free: 6.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6018, allocations: 8.031 kB / 0.7178 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.602, allocations: 16.92 kB / 0.7178 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.6021, allocations: 164.3 kB / 0.718 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.6021, allocations: 4.375 kB / 0.718 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.6022, allocations: 12.12 kB / 0.718 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.6023, allocations: 49.67 kB / 0.7181 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6023, allocations: 0 / 0.7181 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.6024, allocations: 4 kB / 0.7181 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6024, allocations: 3.984 kB / 0.7181 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.6024, allocations: 19.97 kB / 0.7181 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.6026, allocations: 173.6 kB / 0.7183 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.6028, allocations: 50.5 kB / 0.7183 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.6028, allocations: 20.8 kB / 0.7183 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.6138, allocations: 3.213 MB / 0.7215 GB, free: 2.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.6139, allocations: 34.56 kB / 0.7215 GB, free: 2.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/0.6139, allocations: 0 / 0.7215 GB, free: 2.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03969/0.6536, allocations: 14.24 MB / 0.7354 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6537, allocations: 63.34 kB / 0.7355 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.6538, allocations: 97.84 kB / 0.7356 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.6538, allocations: 25.7 kB / 0.7356 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.6539, allocations: 80.14 kB / 0.7357 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.6539, allocations: 51.38 kB / 0.7357 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.6539, allocations: 21.66 kB / 0.7357 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6541, allocations: 318.8 kB / 0.736 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.6541, allocations: 20.12 kB / 0.736 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.576e-05/0.6542, allocations: 31.98 kB / 0.7361 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.6543, allocations: 60.34 kB / 0.7361 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6543, allocations: 0 / 0.7361 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000221/0.6545, allocations: 101.6 kB / 0.7362 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.6546, allocations: 10.03 kB / 0.7362 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6546, allocations: 3.938 kB / 0.7362 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6546, allocations: 0 / 0.7362 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6547, allocations: 27.98 kB / 0.7363 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6548, allocations: 0 / 0.7363 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.6548, allocations: 0 / 0.7363 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.6548, allocations: 12 kB / 0.7363 GB, free: 3.234 MB / 0.5606 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 9.85e-05/0.6549, allocations: 117.8 kB / 0.7364 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.655, allocations: 7.984 kB / 0.7364 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.6553, allocations: 125.4 kB / 0.7365 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6553, allocations: 8 kB / 0.7365 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.6553, allocations: 0 / 0.7365 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6553, allocations: 0 / 0.7365 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.6555, allocations: 173.6 kB / 0.7367 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6555, allocations: 0 / 0.7367 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.6556, allocations: 27.98 kB / 0.7367 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.6556, allocations: 0 / 0.7367 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.6556, allocations: 4 kB / 0.7367 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6556, allocations: 0 / 0.7367 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6556, allocations: 0 / 0.7367 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.656, allocations: 160.9 kB / 0.7369 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.6561, allocations: 96.98 kB / 0.737 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6561, allocations: 0 / 0.737 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.6562, allocations: 15.98 kB / 0.737 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.6563, allocations: 8 kB / 0.737 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6563, allocations: 7.984 kB / 0.737 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.6563, allocations: 79.28 kB / 0.7371 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6563, allocations: 0 / 0.7371 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001901/0.6582, allocations: 0.5663 MB / 0.7376 GB, free: 1.746 MB / 0.5606 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.003694/0.662, allocations: 351.2 kB / 0.738 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.6622, allocations: 67.91 kB / 0.738 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6622, allocations: 0 / 0.738 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.6622, allocations: 39.33 kB / 0.7381 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.6624, allocations: 19.86 kB / 0.7381 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.6631, allocations: 402.3 kB / 0.7385 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.6635, allocations: 0.6887 MB / 0.7391 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.6636, allocations: 20.55 kB / 0.7392 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.6636, allocations: 15.44 kB / 0.7392 GB, free: 104 kB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.6636, allocations: 0 / 0.7392 GB, free: 104 kB / 0.5606 GB Notification: Performance of Templates: time 0.04141/0.705, allocations: 24.2 MB / 0.7628 GB, free: 7.961 MB / 0.5919 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)