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.001263/0.001263, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001346/0.001346, allocations: 191 kB / 17.29 MB, free: 5.516 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 423.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 55.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4484, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002045/0.4505, allocations: 1.26 MB / 0.5827 GB, free: 26.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1427/0.5932, allocations: 137.7 MB / 0.7172 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.5933, allocations: 0 / 0.7172 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.5933, allocations: 3.938 kB / 0.7172 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.5935, allocations: 7.922 kB / 0.7172 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.5947, allocations: 466 kB / 0.7177 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.5947, allocations: 51.78 kB / 0.7177 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.5948, allocations: 4 kB / 0.7177 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.5948, allocations: 23.97 kB / 0.7177 GB, free: 2.223 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.635e-05/0.5949, allocations: 15.92 kB / 0.7177 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.5949, allocations: 0 / 0.7177 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.5963, allocations: 0.8348 MB / 0.7186 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.5963, allocations: 7.984 kB / 0.7186 GB, free: 1.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.5964, allocations: 19.92 kB / 0.7186 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.5969, allocations: 444.8 kB / 0.719 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5969, allocations: 0 / 0.719 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5969, allocations: 0 / 0.719 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.597, allocations: 0 / 0.719 GB, free: 0.9141 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.0004477/0.5974, allocations: 371.5 kB / 0.7194 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.5974, allocations: 8.031 kB / 0.7194 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.5976, allocations: 16.94 kB / 0.7194 GB, free: 492 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.636e-05/0.5977, allocations: 168.3 kB / 0.7196 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5978, allocations: 8.359 kB / 0.7196 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.5978, allocations: 12.03 kB / 0.7196 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5979, allocations: 53.67 kB / 0.7196 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.5979, allocations: 0 / 0.7196 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.598, allocations: 0 / 0.7196 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.598, allocations: 4 kB / 0.7196 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.598, allocations: 23.97 kB / 0.7197 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.5982, allocations: 161.7 kB / 0.7198 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.878e-05/0.5983, allocations: 54.48 kB / 0.7199 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.5983, allocations: 20.8 kB / 0.7199 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.6097, allocations: 3.201 MB / 0.723 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.6097, allocations: 42.56 kB / 0.723 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.6097, allocations: 0 / 0.723 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0396/0.6494, allocations: 14.98 MB / 0.7377 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.6495, allocations: 59.41 kB / 0.7377 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.91e-05/0.6495, allocations: 89.86 kB / 0.7378 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.6496, allocations: 33.64 kB / 0.7379 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.6496, allocations: 92.05 kB / 0.7379 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.6497, allocations: 39.41 kB / 0.738 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.6497, allocations: 33.7 kB / 0.738 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6499, allocations: 322.8 kB / 0.7383 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.401e-05/0.6499, allocations: 20.12 kB / 0.7383 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.579e-05/0.65, allocations: 27.98 kB / 0.7384 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.6501, allocations: 60.84 kB / 0.7384 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6501, allocations: 0 / 0.7384 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002267/0.6503, allocations: 101.6 kB / 0.7385 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6504, allocations: 4 kB / 0.7385 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6504, allocations: 0 / 0.7385 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.6504, allocations: 4 kB / 0.7385 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.6505, allocations: 35.92 kB / 0.7386 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6506, allocations: 0 / 0.7386 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.6506, allocations: 0 / 0.7386 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.6506, allocations: 12 kB / 0.7386 GB, free: 12.43 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 0.0001073/0.6507, allocations: 117.8 kB / 0.7387 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.6508, allocations: 3.984 kB / 0.7387 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.6511, allocations: 129.4 kB / 0.7388 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6511, allocations: 0 / 0.7388 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6511, allocations: 8 kB / 0.7388 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.6511, allocations: 0 / 0.7388 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.6513, allocations: 173.6 kB / 0.739 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6513, allocations: 0 / 0.739 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6514, allocations: 27.98 kB / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.6514, allocations: 0 / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6514, allocations: 0 / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6514, allocations: 0 / 0.739 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6515, allocations: 4 kB / 0.739 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.6518, allocations: 164.8 kB / 0.7392 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.6518, allocations: 93.05 kB / 0.7393 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.6519, allocations: 4 kB / 0.7393 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.652, allocations: 11.98 kB / 0.7393 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.652, allocations: 8 kB / 0.7393 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.6521, allocations: 7.984 kB / 0.7393 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.6521, allocations: 79.28 kB / 0.7394 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6521, allocations: 0 / 0.7394 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001818/0.6539, allocations: 0.5663 MB / 0.7399 GB, free: 10.94 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.002857/0.6568, allocations: 343.2 kB / 0.7402 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.657, allocations: 75.28 kB / 0.7403 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.657, allocations: 0 / 0.7403 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.6571, allocations: 39.86 kB / 0.7404 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.6573, allocations: 15.88 kB / 0.7404 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.6579, allocations: 349.6 kB / 0.7407 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.6582, allocations: 0.6889 MB / 0.7414 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.408e-05/0.6583, allocations: 24.55 kB / 0.7414 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.6583, allocations: 15.44 kB / 0.7414 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.6583, allocations: 0 / 0.7414 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of Templates: time 0.2975/0.9558, allocations: 24.25 MB / 0.7651 GB, free: 153.9 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)