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.0008278/0.0008278, allocations: 99.08 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.0008676/0.0008676, allocations: 177.3 kB / 15.94 MB, free: 228 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.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8368/0.8368, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001133/0.145, allocations: 0.955 MB / 0.5881 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3527/0.4977, allocations: 116.4 MB / 0.7018 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.4978, allocations: 0.5625 kB / 0.7018 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.4978, allocations: 0.5156 kB / 0.7018 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.676e-05/0.4979, allocations: 10.27 kB / 0.7018 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.4988, allocations: 355.5 kB / 0.7021 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.4989, allocations: 27.52 kB / 0.7021 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.4989, allocations: 1.906 kB / 0.7021 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.767e-05/0.499, allocations: 18.5 kB / 0.7022 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.4991, allocations: 23.64 kB / 0.7022 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.4991, allocations: 2.719 kB / 0.7022 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.5004, allocations: 0.786 MB / 0.703 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.5005, allocations: 12.08 kB / 0.703 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.5005, allocations: 29.77 kB / 0.703 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.5009, allocations: 289.2 kB / 0.7033 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.5009, allocations: 0 / 0.7033 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5009, allocations: 0 / 0.7033 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.5009, allocations: 5.062 kB / 0.7033 GB, free: 8.562 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.000424/0.5014, allocations: 355.8 kB / 0.7036 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5014, allocations: 10 kB / 0.7036 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.5016, allocations: 15.3 kB / 0.7036 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.5017, allocations: 166.9 kB / 0.7038 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.5017, allocations: 9.484 kB / 0.7038 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.5018, allocations: 9.266 kB / 0.7038 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.5019, allocations: 59.48 kB / 0.7039 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.5019, allocations: 0 / 0.7039 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5019, allocations: 0 / 0.7039 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5019, allocations: 1.406 kB / 0.7039 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.502, allocations: 22.92 kB / 0.7039 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.5021, allocations: 172.9 kB / 0.7041 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.778e-05/0.5022, allocations: 56.17 kB / 0.7041 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.5135, allocations: 3.201 MB / 0.7072 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5136, allocations: 32.56 kB / 0.7073 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.5136, allocations: 0 / 0.7073 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.03797/0.5516, allocations: 14.24 MB / 0.7212 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.5517, allocations: 63.28 kB / 0.7212 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.5517, allocations: 96.02 kB / 0.7213 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.5518, allocations: 29.7 kB / 0.7214 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5518, allocations: 84.27 kB / 0.7214 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.5518, allocations: 41.66 kB / 0.7215 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.5519, allocations: 0 / 0.7215 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.552, allocations: 321 kB / 0.7218 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.552, allocations: 20.41 kB / 0.7218 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.5521, allocations: 26.16 kB / 0.7218 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.5521, allocations: 26.62 kB / 0.7219 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5521, allocations: 0 / 0.7219 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001967/0.5523, allocations: 100.2 kB / 0.7219 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5523, allocations: 12 kB / 0.722 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5524, allocations: 0 / 0.722 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5524, allocations: 3.938 kB / 0.722 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.5525, allocations: 32.34 kB / 0.722 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5525, allocations: 0 / 0.722 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.5525, allocations: 0 / 0.722 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.5525, allocations: 4.078 kB / 0.722 GB, free: 1.566 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 8.782e-05/0.5526, allocations: 124.4 kB / 0.7221 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.5527, allocations: 10.11 kB / 0.7221 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.5529, allocations: 120.4 kB / 0.7222 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.553, allocations: 4 kB / 0.7222 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.553, allocations: 0 / 0.7222 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.553, allocations: 2.203 kB / 0.7222 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5531, allocations: 176.2 kB / 0.7224 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5531, allocations: 4 kB / 0.7224 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.5532, allocations: 28.41 kB / 0.7224 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5532, allocations: 0 / 0.7224 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5533, allocations: 1 kB / 0.7224 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5533, allocations: 7.984 kB / 0.7225 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5533, allocations: 0 / 0.7225 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.5536, allocations: 158.5 kB / 0.7226 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.5536, allocations: 89.33 kB / 0.7227 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.5536, allocations: 4 kB / 0.7227 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.5538, allocations: 20.36 kB / 0.7227 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.5538, allocations: 6.656 kB / 0.7227 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.5538, allocations: 10.2 kB / 0.7227 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.5539, allocations: 79.22 kB / 0.7228 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5539, allocations: 0 / 0.7228 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002429/0.5563, allocations: 0.5667 MB / 0.7234 GB, free: 128 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.002988/0.5593, allocations: 356.4 kB / 0.7237 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.5595, allocations: 66.41 kB / 0.7238 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5595, allocations: 4 kB / 0.7238 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.5596, allocations: 38.03 kB / 0.7238 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.5598, allocations: 10.11 kB / 0.7238 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.5603, allocations: 398.2 kB / 0.7242 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.5606, allocations: 0.6912 MB / 0.7249 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.649e-05/0.5607, allocations: 22.7 kB / 0.7249 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.5607, allocations: 21.59 kB / 0.7249 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.5607, allocations: 0 / 0.7249 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.03585/0.5966, allocations: 25.63 MB / 0.7499 GB, free: 5.062 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: