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.001243/0.001242, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001217/0.001217, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7982/0.7982, allocations: 132.2 MB / 423.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 63.89 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4069, allocations: 80.18 MB / 0.5807 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002111/0.409, allocations: 1.261 MB / 0.582 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1438/0.5528, allocations: 137.7 MB / 0.7165 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.5529, allocations: 0 / 0.7165 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.5529, allocations: 3.938 kB / 0.7165 GB, free: 2.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.553, allocations: 3.938 kB / 0.7165 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.5543, allocations: 466.4 kB / 0.7169 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.5544, allocations: 43.78 kB / 0.7169 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.5544, allocations: 11.98 kB / 0.717 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.5545, allocations: 12 kB / 0.717 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.5546, allocations: 23.89 kB / 0.717 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.5546, allocations: 4 kB / 0.717 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.556, allocations: 0.8114 MB / 0.7178 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.556, allocations: 7.984 kB / 0.7178 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.5561, allocations: 19.92 kB / 0.7178 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.5566, allocations: 445.1 kB / 0.7182 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5566, allocations: 0 / 0.7182 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5567, allocations: 0 / 0.7182 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.5567, allocations: 0 / 0.7182 GB, free: 0.9414 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.0004937/0.5572, allocations: 367.5 kB / 0.7186 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5572, allocations: 8.031 kB / 0.7186 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.5574, allocations: 12.92 kB / 0.7186 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.5575, allocations: 172.3 kB / 0.7188 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5575, allocations: 4.375 kB / 0.7188 GB, free: 312 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.5575, allocations: 12.03 kB / 0.7188 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.5577, allocations: 57.66 kB / 0.7188 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5577, allocations: 0 / 0.7188 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5577, allocations: 0 / 0.7188 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5577, allocations: 4 kB / 0.7189 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.357e-05/0.5578, allocations: 15.98 kB / 0.7189 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.558, allocations: 173.6 kB / 0.719 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5581, allocations: 66.55 kB / 0.7191 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.5581, allocations: 16.8 kB / 0.7191 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.5697, allocations: 3.17 MB / 0.7222 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.5698, allocations: 38.56 kB / 0.7222 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.5698, allocations: 0 / 0.7222 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04416/0.614, allocations: 14.85 MB / 0.7367 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.6141, allocations: 51.41 kB / 0.7368 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.6142, allocations: 97.84 kB / 0.7369 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6142, allocations: 29.7 kB / 0.7369 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.6142, allocations: 80.27 kB / 0.737 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.6143, allocations: 51.27 kB / 0.737 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.6143, allocations: 29.72 kB / 0.7371 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6144, allocations: 322.8 kB / 0.7374 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.6145, allocations: 23.98 kB / 0.7374 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.254e-05/0.6145, allocations: 20 kB / 0.7374 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.6147, allocations: 64.09 kB / 0.7375 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.6147, allocations: 0 / 0.7375 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002241/0.6149, allocations: 105.6 kB / 0.7376 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6149, allocations: 10.34 kB / 0.7376 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.615, allocations: 3.984 kB / 0.7376 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.615, allocations: 0 / 0.7376 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6151, allocations: 27.94 kB / 0.7376 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.6151, allocations: 0 / 0.7376 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.6151, allocations: 4 kB / 0.7376 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.6152, allocations: 7.922 kB / 0.7376 GB, free: 12.63 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.602e-05/0.6152, allocations: 117.8 kB / 0.7377 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.6153, allocations: 8 kB / 0.7378 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.6156, allocations: 125.4 kB / 0.7379 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6156, allocations: 0 / 0.7379 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6156, allocations: 4 kB / 0.7379 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6156, allocations: 0 / 0.7379 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.6158, allocations: 181.6 kB / 0.738 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6158, allocations: 0 / 0.738 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.6159, allocations: 27.98 kB / 0.7381 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6159, allocations: 0 / 0.7381 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.6159, allocations: 8 kB / 0.7381 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6159, allocations: 0 / 0.7381 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6159, allocations: 0 / 0.7381 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.6163, allocations: 163.9 kB / 0.7382 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.6163, allocations: 89.05 kB / 0.7383 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.6164, allocations: 4 kB / 0.7383 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.6165, allocations: 15.98 kB / 0.7383 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.6165, allocations: 7.984 kB / 0.7384 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6166, allocations: 8 kB / 0.7384 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.6166, allocations: 79.28 kB / 0.7384 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6166, allocations: 0 / 0.7384 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001622/0.6182, allocations: 0.5663 MB / 0.739 GB, free: 11.14 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.002884/0.6211, allocations: 355.1 kB / 0.7393 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.6213, allocations: 67.92 kB / 0.7394 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6213, allocations: 0 / 0.7394 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.6214, allocations: 43.86 kB / 0.7394 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.6216, allocations: 11.94 kB / 0.7394 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006279/0.6223, allocations: 371.6 kB / 0.7398 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.6225, allocations: 0.6846 MB / 0.7405 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.846e-05/0.6226, allocations: 23.44 kB / 0.7405 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.6226, allocations: 0 / 0.7405 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of Templates: time 0.2643/0.8869, allocations: 14.32 MB / 0.7545 GB, free: 153.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)