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.00103/0.001031, allocations: 107 kB / 16.36 MB, free: 6.336 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.0009787/0.0009787, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7759/0.7759, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3574, allocations: 80.9 MB / 0.5857 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00215/0.3596, allocations: 1.261 MB / 0.587 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.5004, allocations: 137.7 MB / 0.7215 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.5005, allocations: 3.938 kB / 0.7215 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.5005, allocations: 0 / 0.7215 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.5006, allocations: 3.938 kB / 0.7215 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.5019, allocations: 473.1 kB / 0.7219 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.502, allocations: 43.84 kB / 0.722 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.5021, allocations: 7.984 kB / 0.722 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.5021, allocations: 19.92 kB / 0.722 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.5022, allocations: 19.91 kB / 0.722 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5022, allocations: 4 kB / 0.722 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5037, allocations: 0.8271 MB / 0.7228 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.5038, allocations: 7.984 kB / 0.7228 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.5038, allocations: 19.92 kB / 0.7229 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.5045, allocations: 446.9 kB / 0.7233 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5045, allocations: 0 / 0.7233 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5045, allocations: 0 / 0.7233 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5045, allocations: 4 kB / 0.7233 GB, free: 13.26 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.0005602/0.5051, allocations: 377.2 kB / 0.7236 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5051, allocations: 9.109 kB / 0.7237 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.5053, allocations: 8.938 kB / 0.7237 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5055, allocations: 164.4 kB / 0.7238 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5055, allocations: 4.375 kB / 0.7238 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.5055, allocations: 8.109 kB / 0.7238 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5057, allocations: 57.67 kB / 0.7239 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.5057, allocations: 4 kB / 0.7239 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5057, allocations: 0 / 0.7239 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5057, allocations: 0 / 0.7239 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.5058, allocations: 27.91 kB / 0.7239 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.506, allocations: 169.6 kB / 0.7241 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.5061, allocations: 50.55 kB / 0.7241 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.632e-05/0.5062, allocations: 24.78 kB / 0.7241 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.5163, allocations: 3.201 MB / 0.7273 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.5164, allocations: 38.56 kB / 0.7273 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.5164, allocations: 0 / 0.7273 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.03743/0.5539, allocations: 15 MB / 0.742 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.5539, allocations: 55.41 kB / 0.742 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.797e-05/0.554, allocations: 89.86 kB / 0.7421 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.554, allocations: 29.7 kB / 0.7421 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.5541, allocations: 84.08 kB / 0.7422 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.5541, allocations: 39.39 kB / 0.7422 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.5542, allocations: 37.7 kB / 0.7423 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/0.5543, allocations: 318.9 kB / 0.7426 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.5543, allocations: 27.98 kB / 0.7426 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.5544, allocations: 23.98 kB / 0.7426 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.5545, allocations: 59.98 kB / 0.7427 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5545, allocations: 0 / 0.7427 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002021/0.5547, allocations: 109.5 kB / 0.7428 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5547, allocations: 4 kB / 0.7428 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5547, allocations: 0 / 0.7428 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5547, allocations: 0 / 0.7428 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5549, allocations: 27.98 kB / 0.7428 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5549, allocations: 8 kB / 0.7428 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.5549, allocations: 0 / 0.7428 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5549, allocations: 8 kB / 0.7428 GB, free: 8.773 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 7.615e-05/0.555, allocations: 118.6 kB / 0.743 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.5551, allocations: 4 kB / 0.743 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/0.5553, allocations: 134.4 kB / 0.7431 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5553, allocations: 0 / 0.7431 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5554, allocations: 0 / 0.7431 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.5554, allocations: 3.984 kB / 0.7431 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.5555, allocations: 173.6 kB / 0.7433 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5555, allocations: 0 / 0.7433 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5556, allocations: 27.94 kB / 0.7433 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.5556, allocations: 4 kB / 0.7433 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5557, allocations: 3.984 kB / 0.7433 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5557, allocations: 0 / 0.7433 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5557, allocations: 0 / 0.7433 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.5559, allocations: 158.3 kB / 0.7434 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.556, allocations: 97.03 kB / 0.7435 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.556, allocations: 8 kB / 0.7435 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.5562, allocations: 8 kB / 0.7435 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.5562, allocations: 11.98 kB / 0.7436 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5562, allocations: 8 kB / 0.7436 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.5563, allocations: 75.28 kB / 0.7436 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5563, allocations: 0 / 0.7436 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001557/0.5578, allocations: 0.5663 MB / 0.7442 GB, free: 7.289 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.002548/0.5604, allocations: 355.1 kB / 0.7445 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.5606, allocations: 67.97 kB / 0.7446 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5606, allocations: 0 / 0.7446 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.5606, allocations: 39.86 kB / 0.7446 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5608, allocations: 13.81 kB / 0.7446 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.5614, allocations: 345.2 kB / 0.745 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.5616, allocations: 0.6846 MB / 0.7456 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.5617, allocations: 28.53 kB / 0.7457 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.5617, allocations: 15.44 kB / 0.7457 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5617, allocations: 0 / 0.7457 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of Templates: time 0.3259/0.8877, allocations: 24.24 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)