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.004813/0.004813, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001065/0.001065, allocations: 193.3 kB / 16.67 MB, free: 5.93 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7883/0.7883, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 66.61 kB / 0.5856 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1673, allocations: 80.92 MB / 0.6646 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002514/0.1699, allocations: 1.257 MB / 0.6658 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5316/0.7015, allocations: 137.7 MB / 0.8003 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.7016, allocations: 0 / 0.8003 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.7016, allocations: 9.719 kB / 0.8003 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.7018, allocations: 3.156 kB / 0.8003 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.7037, allocations: 467 kB / 0.8008 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.7039, allocations: 41.53 kB / 0.8008 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.7039, allocations: 5.422 kB / 0.8008 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.349e-05/0.704, allocations: 23.88 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.7041, allocations: 19.34 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.7041, allocations: 1.5 kB / 0.8009 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.7061, allocations: 0.828 MB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.7062, allocations: 15.72 kB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.7062, allocations: 17.28 kB / 0.8017 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006715/0.7069, allocations: 448.2 kB / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7069, allocations: 0 / 0.8021 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7069, allocations: 3.938 kB / 0.8021 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7069, allocations: 1.406 kB / 0.8021 GB, free: 12.39 MB / 0.5919 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.000551/0.7075, allocations: 367.2 kB / 0.8025 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7075, allocations: 11.36 kB / 0.8025 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.7077, allocations: 18.78 kB / 0.8025 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7078, allocations: 164.3 kB / 0.8027 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.7079, allocations: 6.969 kB / 0.8027 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.7079, allocations: 6.844 kB / 0.8027 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.708, allocations: 58.27 kB / 0.8027 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.7081, allocations: 0 / 0.8027 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.7081, allocations: 1.062 kB / 0.8027 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.7081, allocations: 1.062 kB / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.7082, allocations: 23.42 kB / 0.8028 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.7084, allocations: 165.2 kB / 0.8029 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.7085, allocations: 57.64 kB / 0.803 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.7086, allocations: 19.14 kB / 0.803 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009946/0.7185, allocations: 3.207 MB / 0.8061 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.7186, allocations: 35.69 kB / 0.8062 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.963e-06/0.7186, allocations: 0 / 0.8062 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03585/0.7545, allocations: 14.99 MB / 0.8208 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.7546, allocations: 51.41 kB / 0.8209 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.7547, allocations: 100.4 kB / 0.821 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.7547, allocations: 32.11 kB / 0.821 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.7547, allocations: 80.14 kB / 0.8211 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.7548, allocations: 43.94 kB / 0.8211 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.7549, allocations: 29.12 kB / 0.8211 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.755, allocations: 318.2 kB / 0.8214 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.7551, allocations: 23.34 kB / 0.8215 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.7552, allocations: 25.98 kB / 0.8215 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.7553, allocations: 67.75 kB / 0.8215 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7553, allocations: 4 kB / 0.8216 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002206/0.7555, allocations: 109.7 kB / 0.8217 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.7556, allocations: 5.375 kB / 0.8217 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.7556, allocations: 0 / 0.8217 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7556, allocations: 0 / 0.8217 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7557, allocations: 28.45 kB / 0.8217 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7557, allocations: 0 / 0.8217 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.7558, allocations: 6.781 kB / 0.8217 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.7558, allocations: 2.625 kB / 0.8217 GB, free: 5.121 MB / 0.5919 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.7559, allocations: 123.1 kB / 0.8218 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.756, allocations: 9.031 kB / 0.8218 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.7562, allocations: 131.4 kB / 0.8219 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7562, allocations: 0 / 0.8219 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7563, allocations: 0 / 0.8219 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.7563, allocations: 0 / 0.8219 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7564, allocations: 182.6 kB / 0.8221 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7565, allocations: 0 / 0.8221 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.7566, allocations: 24.48 kB / 0.8221 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.7566, allocations: 6.719 kB / 0.8222 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.7566, allocations: 3.688 kB / 0.8222 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7566, allocations: 0 / 0.8222 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7566, allocations: 2.75 kB / 0.8222 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.757, allocations: 151.4 kB / 0.8223 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.7571, allocations: 87.95 kB / 0.8224 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.7571, allocations: 10.38 kB / 0.8224 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.7572, allocations: 11.36 kB / 0.8224 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.7573, allocations: 12.05 kB / 0.8224 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.7573, allocations: 2.812 kB / 0.8224 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.7573, allocations: 77.22 kB / 0.8225 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7573, allocations: 0 / 0.8225 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001999/0.7593, allocations: 0.5661 MB / 0.823 GB, free: 4.211 MB / 0.5919 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.002696/0.7621, allocations: 363.4 kB / 0.8234 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.7622, allocations: 69.53 kB / 0.8235 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7623, allocations: 0 / 0.8235 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.172e-05/0.7623, allocations: 38.69 kB / 0.8235 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.7625, allocations: 11.47 kB / 0.8235 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.7631, allocations: 351.6 kB / 0.8238 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.7634, allocations: 0.6846 MB / 0.8245 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.27e-05/0.7635, allocations: 28.55 kB / 0.8245 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.7635, allocations: 15.42 kB / 0.8246 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of SimCode: time 2.485e-06/0.7635, allocations: 0 / 0.8246 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of Templates: time 0.03908/0.8026, allocations: 24.26 MB / 0.8482 GB, free: 10.41 MB / 0.6231 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)