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-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_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.0008213/0.0008213, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0008621/0.0008622, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8188/0.8188, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002624, allocations: 8 kB / 0.5068 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1427, allocations: 82.31 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001108/0.1439, allocations: 0.9588 MB / 0.5881 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3612/0.5051, allocations: 116.4 MB / 0.7018 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.5052, allocations: 0 / 0.7018 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.5052, allocations: 1.125 kB / 0.7018 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.797e-05/0.5052, allocations: 6.297 kB / 0.7018 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.5067, allocations: 364.2 kB / 0.7021 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.183e-05/0.5068, allocations: 27.41 kB / 0.7022 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.5069, allocations: 1.891 kB / 0.7022 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.5069, allocations: 21.2 kB / 0.7022 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.142e-05/0.507, allocations: 20.33 kB / 0.7022 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.507, allocations: 2.594 kB / 0.7022 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.5096, allocations: 0.786 MB / 0.703 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.5096, allocations: 9.578 kB / 0.703 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.5097, allocations: 33.61 kB / 0.703 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006753/0.5104, allocations: 283.2 kB / 0.7033 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.5104, allocations: 0 / 0.7033 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5104, allocations: 1.344 kB / 0.7033 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5104, allocations: 4 kB / 0.7033 GB, free: 8.371 MB / 0.5294 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.0006344/0.511, allocations: 362.9 kB / 0.7036 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.5111, allocations: 10 kB / 0.7036 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.5113, allocations: 12.08 kB / 0.7036 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.5114, allocations: 167.2 kB / 0.7038 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.5114, allocations: 6.719 kB / 0.7038 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.5114, allocations: 4.141 kB / 0.7038 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.5116, allocations: 54.86 kB / 0.7039 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.5116, allocations: 4.562 kB / 0.7039 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5116, allocations: 1.5 kB / 0.7039 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5116, allocations: 0 / 0.7039 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.5117, allocations: 23.67 kB / 0.7039 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.5119, allocations: 171.5 kB / 0.7041 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.512, allocations: 51.59 kB / 0.7041 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/0.5231, allocations: 3.202 MB / 0.7072 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.5231, allocations: 36.56 kB / 0.7073 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.5232, allocations: 0 / 0.7073 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.03581/0.559, allocations: 14.25 MB / 0.7212 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.559, allocations: 55.41 kB / 0.7212 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.5591, allocations: 92.02 kB / 0.7213 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5591, allocations: 29.7 kB / 0.7214 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.5591, allocations: 80.14 kB / 0.7214 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.5592, allocations: 43.77 kB / 0.7215 GB, free: 2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.5592, allocations: 4.125 kB / 0.7215 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5593, allocations: 318.8 kB / 0.7218 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.5593, allocations: 24.31 kB / 0.7218 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.5594, allocations: 22.16 kB / 0.7218 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.5594, allocations: 27.94 kB / 0.7219 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5594, allocations: 0 / 0.7219 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001863/0.5596, allocations: 108.2 kB / 0.722 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5597, allocations: 4 kB / 0.722 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5597, allocations: 2.156 kB / 0.722 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5597, allocations: 4 kB / 0.722 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.5598, allocations: 26.72 kB / 0.722 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.5598, allocations: 0 / 0.722 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.5598, allocations: 4 kB / 0.722 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.5598, allocations: 4 kB / 0.722 GB, free: 1.465 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.5599, allocations: 122.4 kB / 0.7221 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.56, allocations: 17.52 kB / 0.7221 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000224/0.5602, allocations: 124.4 kB / 0.7223 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5602, allocations: 0 / 0.7223 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5602, allocations: 0 / 0.7223 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.5602, allocations: 0 / 0.7223 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.5603, allocations: 178.3 kB / 0.7224 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5604, allocations: 3.938 kB / 0.7224 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5605, allocations: 22.2 kB / 0.7224 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.5605, allocations: 4 kB / 0.7224 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5605, allocations: 6.156 kB / 0.7225 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.5605, allocations: 7.938 kB / 0.7225 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5605, allocations: 0 / 0.7225 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.5607, allocations: 147.8 kB / 0.7226 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.5608, allocations: 93.33 kB / 0.7227 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5608, allocations: 3.562 kB / 0.7227 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.561, allocations: 22.16 kB / 0.7227 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.561, allocations: 8.312 kB / 0.7227 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.561, allocations: 4 kB / 0.7227 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.561, allocations: 75.28 kB / 0.7228 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.313e-06/0.5611, allocations: 0 / 0.7228 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00159/0.5626, allocations: 0.5743 MB / 0.7234 GB, free: 24 kB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002995/0.5657, allocations: 351 kB / 0.7237 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.5658, allocations: 66.36 kB / 0.7238 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5658, allocations: 4 kB / 0.7238 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/0.5659, allocations: 40.3 kB / 0.7238 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001125/0.566, allocations: 7.953 kB / 0.7238 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.5665, allocations: 408.7 kB / 0.7242 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5667, allocations: 0.6881 MB / 0.7249 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.461e-05/0.5668, allocations: 26.7 kB / 0.7249 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.5668, allocations: 15.44 kB / 0.7249 GB, free: 14.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.5668, allocations: 0 / 0.7249 GB, free: 14.48 MB / 0.545 GB Notification: Performance of Templates: time 0.03379/0.6006, allocations: 25.63 MB / 0.7499 GB, free: 5 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: