Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001228/0.001228, allocations: 108.5 kB / 15.99 MB, free: 5.91 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.001225/0.001225, allocations: 192.2 kB / 16.91 MB, free: 5.754 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9006/0.9006, allocations: 135.1 MB / 425.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 0.5055 GB, free: 8.738 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4073, allocations: 80.91 MB / 0.5845 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002827/0.4101, allocations: 1.328 MB / 0.5858 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.5536, allocations: 135.7 MB / 0.7184 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.5537, allocations: 0 / 0.7184 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.5537, allocations: 0 / 0.7184 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.5538, allocations: 11.92 kB / 0.7184 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.5553, allocations: 398.8 kB / 0.7187 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.5554, allocations: 39.86 kB / 0.7188 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.5554, allocations: 4 kB / 0.7188 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.076e-05/0.5555, allocations: 27.91 kB / 0.7188 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.5556, allocations: 19.92 kB / 0.7188 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5556, allocations: 4 kB / 0.7188 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.5573, allocations: 0.8153 MB / 0.7196 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.5573, allocations: 15.97 kB / 0.7196 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.5574, allocations: 15.94 kB / 0.7197 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.5579, allocations: 293.4 kB / 0.7199 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5579, allocations: 0 / 0.7199 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5579, allocations: 0 / 0.7199 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5579, allocations: 0 / 0.7199 GB, free: 15.62 MB / 0.5606 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.0006296/0.5586, allocations: 379.4 kB / 0.7203 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5586, allocations: 13.11 kB / 0.7203 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.5589, allocations: 16.94 kB / 0.7203 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.559, allocations: 168.4 kB / 0.7205 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.559, allocations: 384 / 0.7205 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.5591, allocations: 12.06 kB / 0.7205 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.5592, allocations: 57.61 kB / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5593, allocations: 0 / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.5593, allocations: 0 / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5593, allocations: 4 kB / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.516e-05/0.5594, allocations: 15.98 kB / 0.7206 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.5596, allocations: 169.6 kB / 0.7207 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5597, allocations: 54.55 kB / 0.7208 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.5597, allocations: 16.8 kB / 0.7208 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.5702, allocations: 3.171 MB / 0.7239 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5703, allocations: 38.5 kB / 0.7239 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/0.5703, allocations: 0 / 0.7239 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03993/0.6102, allocations: 14.86 MB / 0.7384 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6103, allocations: 51.41 kB / 0.7385 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.6104, allocations: 97.84 kB / 0.7386 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.6104, allocations: 33.7 kB / 0.7386 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.6104, allocations: 80.14 kB / 0.7387 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.6105, allocations: 35.41 kB / 0.7387 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.6106, allocations: 33.7 kB / 0.7388 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6107, allocations: 322.8 kB / 0.7391 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.6107, allocations: 20 kB / 0.7391 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.6108, allocations: 23.98 kB / 0.7391 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.6109, allocations: 68.28 kB / 0.7392 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.6109, allocations: 4.125 kB / 0.7392 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002201/0.6112, allocations: 101.6 kB / 0.7393 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6112, allocations: 8 kB / 0.7393 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6112, allocations: 0 / 0.7393 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6112, allocations: 0 / 0.7393 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.6114, allocations: 31.98 kB / 0.7393 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6114, allocations: 0 / 0.7393 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.6114, allocations: 0 / 0.7393 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.6114, allocations: 11.94 kB / 0.7393 GB, free: 11.3 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 9.197e-05/0.6115, allocations: 122.7 kB / 0.7394 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.157e-05/0.6116, allocations: 7.984 kB / 0.7395 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.6119, allocations: 125.4 kB / 0.7396 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6119, allocations: 4 kB / 0.7396 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6119, allocations: 0 / 0.7396 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6119, allocations: 4 kB / 0.7396 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.6121, allocations: 177.6 kB / 0.7398 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6121, allocations: 3.938 kB / 0.7398 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.6122, allocations: 27.98 kB / 0.7398 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.6122, allocations: 0 / 0.7398 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6122, allocations: 4 kB / 0.7398 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.6123, allocations: 0 / 0.7398 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6123, allocations: 0 / 0.7398 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.6126, allocations: 156.9 kB / 0.7399 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.6126, allocations: 93.05 kB / 0.74 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.6127, allocations: 4 kB / 0.74 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6128, allocations: 11.98 kB / 0.74 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.6128, allocations: 7.938 kB / 0.74 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.6129, allocations: 11.98 kB / 0.7401 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.6129, allocations: 75.28 kB / 0.7401 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6129, allocations: 96 / 0.7401 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001828/0.6148, allocations: 0.5702 MB / 0.7407 GB, free: 9.812 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.003607/0.6184, allocations: 355 kB / 0.741 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.6186, allocations: 75.84 kB / 0.7411 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6186, allocations: 0 / 0.7411 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.6187, allocations: 39.92 kB / 0.7411 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.6189, allocations: 11.94 kB / 0.7411 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.6195, allocations: 378.4 kB / 0.7415 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.6198, allocations: 0.6924 MB / 0.7422 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.6199, allocations: 19.44 kB / 0.7422 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6199, allocations: 0 / 0.7422 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of Templates: time 0.3054/0.9252, allocations: 14.31 MB / 0.7562 GB, free: 152.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)