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.001136/0.001136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001395/0.001395, allocations: 191.6 kB / 16.25 MB, free: 6.617 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7585/0.7585, allocations: 132.2 MB / 422.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 60.47 kB / 0.5013 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.4434, allocations: 80.2 MB / 0.5796 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002366/0.4458, allocations: 1.329 MB / 0.5809 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.6159, allocations: 135.7 MB / 0.7134 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.616, allocations: 0 / 0.7134 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.616, allocations: 7.922 kB / 0.7134 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.6161, allocations: 4 kB / 0.7135 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.6173, allocations: 406.7 kB / 0.7138 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.6174, allocations: 47.83 kB / 0.7139 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.6174, allocations: 4 kB / 0.7139 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.6174, allocations: 19.98 kB / 0.7139 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.6175, allocations: 19.91 kB / 0.7139 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.6175, allocations: 0 / 0.7139 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.6188, allocations: 0.8192 MB / 0.7147 GB, free: 6.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.6188, allocations: 8 kB / 0.7147 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.6189, allocations: 19.91 kB / 0.7148 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.6194, allocations: 449 kB / 0.7152 GB, free: 6.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6194, allocations: 0 / 0.7152 GB, free: 6.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6194, allocations: 0 / 0.7152 GB, free: 6.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6194, allocations: 0 / 0.7152 GB, free: 6.41 MB / 0.545 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.0004568/0.6199, allocations: 375.4 kB / 0.7155 GB, free: 5.996 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.6199, allocations: 8.031 kB / 0.7155 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.6201, allocations: 16.94 kB / 0.7156 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.969e-05/0.6202, allocations: 168.4 kB / 0.7157 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.6202, allocations: 384 / 0.7157 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.6203, allocations: 16.11 kB / 0.7157 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.6204, allocations: 53.61 kB / 0.7158 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-06/0.6204, allocations: 0 / 0.7158 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.6204, allocations: 0 / 0.7158 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.6204, allocations: 4 kB / 0.7158 GB, free: 5.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.6205, allocations: 19.97 kB / 0.7158 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.6207, allocations: 169.6 kB / 0.716 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.6208, allocations: 54.55 kB / 0.716 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.6208, allocations: 16.8 kB / 0.716 GB, free: 5.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.6312, allocations: 3.17 MB / 0.7191 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.6313, allocations: 38.5 kB / 0.7192 GB, free: 2.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.6313, allocations: 0 / 0.7192 GB, free: 2.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03921/0.6705, allocations: 14.86 MB / 0.7337 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6706, allocations: 51.41 kB / 0.7337 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.466e-05/0.6706, allocations: 93.84 kB / 0.7338 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6707, allocations: 33.7 kB / 0.7339 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.6707, allocations: 84.27 kB / 0.7339 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.663e-05/0.6708, allocations: 47.31 kB / 0.734 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.6708, allocations: 29.72 kB / 0.734 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.6709, allocations: 322.8 kB / 0.7343 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.671, allocations: 20 kB / 0.7343 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.298e-05/0.671, allocations: 23.98 kB / 0.7344 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.6711, allocations: 67.03 kB / 0.7344 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6712, allocations: 0 / 0.7344 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/0.6714, allocations: 105.6 kB / 0.7345 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6714, allocations: 8 kB / 0.7345 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6714, allocations: 0 / 0.7345 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6714, allocations: 0 / 0.7345 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.6716, allocations: 27.98 kB / 0.7346 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6716, allocations: 0 / 0.7346 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.6716, allocations: 0 / 0.7346 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.6716, allocations: 8 kB / 0.7346 GB, free: 2.102 MB / 0.5606 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 9.579e-05/0.6717, allocations: 125.7 kB / 0.7347 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.6718, allocations: 8 kB / 0.7347 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.6721, allocations: 121.4 kB / 0.7348 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6721, allocations: 4 kB / 0.7348 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6721, allocations: 0 / 0.7348 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6721, allocations: 0 / 0.7348 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.6722, allocations: 173.6 kB / 0.735 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6723, allocations: 4 kB / 0.735 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.6724, allocations: 31.92 kB / 0.735 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6724, allocations: 0 / 0.735 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6724, allocations: 4 kB / 0.735 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6724, allocations: 0 / 0.735 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6724, allocations: 0 / 0.735 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.6727, allocations: 160.9 kB / 0.7352 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.6728, allocations: 89.05 kB / 0.7353 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.6728, allocations: 12 kB / 0.7353 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.673, allocations: 11.98 kB / 0.7353 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.673, allocations: 11.94 kB / 0.7353 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.673, allocations: 7.984 kB / 0.7353 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.6731, allocations: 75.28 kB / 0.7354 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6731, allocations: 0 / 0.7354 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00167/0.6747, allocations: 0.5663 MB / 0.7359 GB, free: 0.6055 MB / 0.5606 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.002826/0.6776, allocations: 355.2 kB / 0.7363 GB, free: 252 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.6778, allocations: 79.12 kB / 0.7363 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6778, allocations: 0 / 0.7363 GB, free: 176 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.6779, allocations: 43.86 kB / 0.7364 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.678, allocations: 11.94 kB / 0.7364 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.6786, allocations: 358 kB / 0.7367 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.6789, allocations: 0.6885 MB / 0.7374 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.183e-05/0.679, allocations: 20.55 kB / 0.7374 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.679, allocations: 23.42 kB / 0.7374 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.679, allocations: 0 / 0.7374 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.03439/0.7134, allocations: 24.23 MB / 0.7611 GB, free: 6.816 MB / 0.5919 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)