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.001079/0.001079, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001638/0.001638, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.19 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002282/0.1455, allocations: 1.266 MB / 0.6615 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5001/0.6456, allocations: 137.7 MB / 0.796 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.6457, allocations: 0 / 0.796 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.6458, allocations: 4.938 kB / 0.796 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.6458, allocations: 3.75 kB / 0.796 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.647, allocations: 465.6 kB / 0.7965 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.742e-05/0.6471, allocations: 42.22 kB / 0.7965 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.6472, allocations: 4.219 kB / 0.7965 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.6472, allocations: 24.09 kB / 0.7965 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.696e-05/0.6473, allocations: 16.53 kB / 0.7966 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6473, allocations: 1.219 kB / 0.7966 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.6488, allocations: 0.8322 MB / 0.7974 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.6488, allocations: 11.81 kB / 0.7974 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.6489, allocations: 19.31 kB / 0.7974 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.6495, allocations: 450 kB / 0.7978 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6495, allocations: 3.688 kB / 0.7978 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6495, allocations: 4 kB / 0.7978 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.6495, allocations: 0 / 0.7978 GB, free: 12.86 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.0005244/0.65, allocations: 366.6 kB / 0.7982 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.6501, allocations: 9.438 kB / 0.7982 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.6503, allocations: 15.34 kB / 0.7982 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.6504, allocations: 162.8 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.6504, allocations: 3.125 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.6504, allocations: 6.312 kB / 0.7984 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.6506, allocations: 63.67 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.6506, allocations: 4.094 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6506, allocations: 0 / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6506, allocations: 1.375 kB / 0.7984 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.6507, allocations: 17.53 kB / 0.7985 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.6508, allocations: 163.6 kB / 0.7986 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.6509, allocations: 54.44 kB / 0.7987 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.651, allocations: 25.42 kB / 0.7987 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.6624, allocations: 3.206 MB / 0.8018 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.6625, allocations: 39.03 kB / 0.8019 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/0.6625, allocations: 0 / 0.8019 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04055/0.7031, allocations: 15 MB / 0.8165 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7032, allocations: 54.03 kB / 0.8166 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.7032, allocations: 93.8 kB / 0.8166 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.7033, allocations: 31.33 kB / 0.8167 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.7033, allocations: 84.12 kB / 0.8168 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.7033, allocations: 43.59 kB / 0.8168 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.7034, allocations: 34.8 kB / 0.8168 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7035, allocations: 318 kB / 0.8171 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.7036, allocations: 23.69 kB / 0.8172 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.7036, allocations: 25.23 kB / 0.8172 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.7037, allocations: 71.56 kB / 0.8172 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.7037, allocations: 0 / 0.8172 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002582/0.704, allocations: 99.28 kB / 0.8173 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.704, allocations: 4.844 kB / 0.8173 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.704, allocations: 0 / 0.8173 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.7041, allocations: 2.938 kB / 0.8173 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.7042, allocations: 29.3 kB / 0.8174 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7042, allocations: 2.75 kB / 0.8174 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.7042, allocations: 3.188 kB / 0.8174 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.7042, allocations: 2.094 kB / 0.8174 GB, free: 6.023 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 8.572e-05/0.7043, allocations: 121.9 kB / 0.8175 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.7044, allocations: 10.61 kB / 0.8175 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.7046, allocations: 127.8 kB / 0.8176 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.7047, allocations: 3.938 kB / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7047, allocations: 0 / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.7047, allocations: 1.906 kB / 0.8176 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.7048, allocations: 180 kB / 0.8178 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7048, allocations: 0 / 0.8178 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.7049, allocations: 24.42 kB / 0.8178 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.705, allocations: 2.594 kB / 0.8178 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.705, allocations: 3.562 kB / 0.8178 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.705, allocations: 9.562 kB / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.705, allocations: 0 / 0.8178 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.7053, allocations: 155.7 kB / 0.818 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.7053, allocations: 85.67 kB / 0.8181 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7054, allocations: 3.625 kB / 0.8181 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.7055, allocations: 15.67 kB / 0.8181 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.7055, allocations: 12.28 kB / 0.8181 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.7056, allocations: 6.734 kB / 0.8181 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.913e-05/0.7056, allocations: 77.38 kB / 0.8182 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7056, allocations: 0 / 0.8182 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001725/0.7073, allocations: 0.5658 MB / 0.8187 GB, free: 5.32 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.002763/0.7101, allocations: 353.5 kB / 0.8191 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.7103, allocations: 65.16 kB / 0.8191 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7103, allocations: 0 / 0.8191 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.7103, allocations: 41.27 kB / 0.8192 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.7105, allocations: 12.09 kB / 0.8192 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.7111, allocations: 374.5 kB / 0.8195 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.7114, allocations: 0.6933 MB / 0.8202 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.7114, allocations: 18.66 kB / 0.8202 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.7114, allocations: 0 / 0.8202 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.02201/0.7334, allocations: 14.34 MB / 0.8342 GB, free: 6.223 MB / 0.6075 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)