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.001066/0.001066, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001099/0.001099, allocations: 189.5 kB / 17.31 MB, free: 5.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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7966/0.7966, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3641, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002087/0.3663, allocations: 1.246 MB / 0.587 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.175/0.5413, allocations: 137.7 MB / 0.7215 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.5414, allocations: 0 / 0.7215 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.5414, allocations: 0 / 0.7215 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.5415, allocations: 7.922 kB / 0.7215 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.5431, allocations: 470.3 kB / 0.7219 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.5432, allocations: 39.89 kB / 0.722 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.5433, allocations: 4 kB / 0.722 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.094e-05/0.5434, allocations: 19.92 kB / 0.722 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.5435, allocations: 23.91 kB / 0.722 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.5435, allocations: 4 kB / 0.722 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.5457, allocations: 0.8271 MB / 0.7228 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.5458, allocations: 8 kB / 0.7228 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.5458, allocations: 19.91 kB / 0.7229 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000805/0.5466, allocations: 448.7 kB / 0.7233 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5466, allocations: 4 kB / 0.7233 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5467, allocations: 0 / 0.7233 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5467, allocations: 4 kB / 0.7233 GB, free: 13.21 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.0006041/0.5473, allocations: 367.4 kB / 0.7237 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5473, allocations: 13.11 kB / 0.7237 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.5477, allocations: 12.92 kB / 0.7237 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.5478, allocations: 160.4 kB / 0.7238 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5478, allocations: 4.375 kB / 0.7238 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.5479, allocations: 8.125 kB / 0.7238 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.5481, allocations: 57.67 kB / 0.7239 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5481, allocations: 3.938 kB / 0.7239 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5481, allocations: 4 kB / 0.7239 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5481, allocations: 0 / 0.7239 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.5482, allocations: 23.91 kB / 0.7239 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.5485, allocations: 169.6 kB / 0.7241 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.5487, allocations: 54.5 kB / 0.7241 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.5487, allocations: 20.8 kB / 0.7242 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.5619, allocations: 3.201 MB / 0.7273 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.562, allocations: 30.56 kB / 0.7273 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.562, allocations: 0 / 0.7273 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03924/0.6012, allocations: 15 MB / 0.742 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6013, allocations: 51.41 kB / 0.742 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.6014, allocations: 97.84 kB / 0.7421 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6014, allocations: 29.7 kB / 0.7421 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.6014, allocations: 80.14 kB / 0.7422 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.6015, allocations: 43.38 kB / 0.7423 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.6015, allocations: 29.72 kB / 0.7423 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6017, allocations: 326.9 kB / 0.7426 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.6017, allocations: 20 kB / 0.7426 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.598e-05/0.6018, allocations: 23.98 kB / 0.7426 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.6019, allocations: 60.84 kB / 0.7427 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.6019, allocations: 0 / 0.7427 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002286/0.6021, allocations: 113.2 kB / 0.7428 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6022, allocations: 4 kB / 0.7428 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6022, allocations: 0 / 0.7428 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.6022, allocations: 0 / 0.7428 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.6023, allocations: 31.98 kB / 0.7428 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6023, allocations: 3.984 kB / 0.7428 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.839e-05/0.6024, allocations: 4 kB / 0.7428 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.6024, allocations: 0 / 0.7428 GB, free: 8.734 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.839e-05/0.6025, allocations: 134.5 kB / 0.743 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.6026, allocations: 4 kB / 0.743 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.6028, allocations: 122.7 kB / 0.7431 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.6028, allocations: 0 / 0.7431 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6028, allocations: 0 / 0.7431 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6028, allocations: 0 / 0.7431 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.603, allocations: 177.6 kB / 0.7433 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.603, allocations: 0 / 0.7433 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.6031, allocations: 31.92 kB / 0.7433 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6032, allocations: 0 / 0.7433 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.6032, allocations: 7.984 kB / 0.7433 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6032, allocations: 0 / 0.7433 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6032, allocations: 4 kB / 0.7433 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.6035, allocations: 156.9 kB / 0.7435 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.6036, allocations: 89.05 kB / 0.7435 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.6036, allocations: 8 kB / 0.7436 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.6038, allocations: 11.98 kB / 0.7436 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.6038, allocations: 7.984 kB / 0.7436 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.6038, allocations: 12 kB / 0.7436 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.6039, allocations: 79.28 kB / 0.7437 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6039, allocations: 0 / 0.7437 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001519/0.6054, allocations: 0.5663 MB / 0.7442 GB, free: 7.238 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.002702/0.6081, allocations: 351 kB / 0.7445 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.6083, allocations: 68.56 kB / 0.7446 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6083, allocations: 0 / 0.7446 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.6084, allocations: 39.92 kB / 0.7446 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.6085, allocations: 15.22 kB / 0.7447 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.6091, allocations: 346 kB / 0.745 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.6094, allocations: 0.6846 MB / 0.7457 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.386e-05/0.6094, allocations: 20.55 kB / 0.7457 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.6095, allocations: 19.42 kB / 0.7457 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/0.6095, allocations: 0 / 0.7457 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of Templates: time 0.2897/0.8992, allocations: 24.25 MB / 0.7694 GB, free: 150.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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)