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.007242/0.007241, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001066/0.001066, allocations: 193 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7871/0.7871, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.89 kB / 0.5813 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4987, allocations: 80.2 MB / 0.6596 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.00216/0.5009, allocations: 1.268 MB / 0.6609 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.6687, allocations: 137.7 MB / 0.7954 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.6688, allocations: 0 / 0.7954 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.6689, allocations: 0 / 0.7954 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.669, allocations: 11.92 kB / 0.7954 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.6705, allocations: 478.3 kB / 0.7958 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.211e-05/0.6705, allocations: 39.84 kB / 0.7959 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.6706, allocations: 4 kB / 0.7959 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.426e-05/0.6707, allocations: 27.84 kB / 0.7959 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.6707, allocations: 15.98 kB / 0.7959 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.6708, allocations: 4 kB / 0.7959 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.6722, allocations: 0.8232 MB / 0.7967 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.6722, allocations: 15.91 kB / 0.7968 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.6722, allocations: 15.94 kB / 0.7968 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005942/0.6728, allocations: 447 kB / 0.7972 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.6729, allocations: 11.98 kB / 0.7972 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6729, allocations: 0 / 0.7972 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.6729, allocations: 0 / 0.7972 GB, free: 8.883 MB / 0.6231 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.000547/0.6734, allocations: 369.3 kB / 0.7976 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6735, allocations: 12.03 kB / 0.7976 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.6737, allocations: 12.84 kB / 0.7976 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.6738, allocations: 160.4 kB / 0.7977 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.6738, allocations: 4.375 kB / 0.7977 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.6738, allocations: 12.11 kB / 0.7977 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.674, allocations: 53.69 kB / 0.7978 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.674, allocations: 0 / 0.7978 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.674, allocations: 7.984 kB / 0.7978 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.674, allocations: 0 / 0.7978 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.6741, allocations: 19.92 kB / 0.7978 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.6743, allocations: 161.7 kB / 0.798 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.6744, allocations: 50.56 kB / 0.798 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.6744, allocations: 24.78 kB / 0.7981 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.6846, allocations: 3.202 MB / 0.8012 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6847, allocations: 30.56 kB / 0.8012 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.6847, allocations: 0 / 0.8012 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.03823/0.7229, allocations: 15.01 MB / 0.8159 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.723, allocations: 51.41 kB / 0.8159 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.7231, allocations: 93.86 kB / 0.816 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.7231, allocations: 29.7 kB / 0.816 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.7231, allocations: 80.14 kB / 0.8161 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.7232, allocations: 39.39 kB / 0.8161 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.7232, allocations: 37.83 kB / 0.8162 GB, free: 5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7234, allocations: 318.8 kB / 0.8165 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.628e-05/0.7234, allocations: 23.98 kB / 0.8165 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.7235, allocations: 23.98 kB / 0.8165 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.7236, allocations: 58.61 kB / 0.8166 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.7236, allocations: 0 / 0.8166 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002143/0.7238, allocations: 109.5 kB / 0.8167 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.7239, allocations: 4 kB / 0.8167 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7239, allocations: 3.938 kB / 0.8167 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.7239, allocations: 4 kB / 0.8167 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.724, allocations: 27.98 kB / 0.8167 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.724, allocations: 0 / 0.8167 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.7241, allocations: 4 kB / 0.8167 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.7241, allocations: 0 / 0.8167 GB, free: 4.418 MB / 0.6387 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.606e-05/0.7242, allocations: 121.7 kB / 0.8169 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.7242, allocations: 8 kB / 0.8169 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.7245, allocations: 128.2 kB / 0.817 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7245, allocations: 0 / 0.817 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7245, allocations: 0 / 0.817 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.7245, allocations: 3.984 kB / 0.817 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.7247, allocations: 181.6 kB / 0.8172 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7247, allocations: 0 / 0.8172 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.7248, allocations: 23.94 kB / 0.8172 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7248, allocations: 3.984 kB / 0.8172 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.7248, allocations: 11.94 kB / 0.8172 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.7248, allocations: 7.938 kB / 0.8172 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.7248, allocations: 0 / 0.8172 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.7251, allocations: 153 kB / 0.8173 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.7252, allocations: 89.08 kB / 0.8174 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.7252, allocations: 4 kB / 0.8174 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.7254, allocations: 12 kB / 0.8174 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.7254, allocations: 7.984 kB / 0.8175 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.7254, allocations: 8 kB / 0.8175 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.7255, allocations: 83.27 kB / 0.8175 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7255, allocations: 0 / 0.8175 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001699/0.7272, allocations: 0.5624 MB / 0.8181 GB, free: 2.926 MB / 0.6387 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.002707/0.7299, allocations: 359.1 kB / 0.8184 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001793/0.7301, allocations: 63.97 kB / 0.8185 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7301, allocations: 0 / 0.8185 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.7302, allocations: 43.92 kB / 0.8185 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.7304, allocations: 7.938 kB / 0.8185 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.731, allocations: 338 kB / 0.8189 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.7313, allocations: 0.6846 MB / 0.8195 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.22e-05/0.7314, allocations: 32.45 kB / 0.8196 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.7314, allocations: 15.44 kB / 0.8196 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of SimCode: time 2e-07/0.7314, allocations: 0 / 0.8196 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.03354/0.765, allocations: 24.27 MB / 0.8433 GB, free: 9.145 MB / 0.67 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)