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.001329/0.001329, allocations: 108.3 kB / 16.27 MB, free: 6.359 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.001248/0.001248, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.85/0.85, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3367, allocations: 80.92 MB / 0.5851 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002096/0.3389, allocations: 1.259 MB / 0.5863 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.151/0.4899, allocations: 137.7 MB / 0.7208 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.4899, allocations: 4 kB / 0.7208 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.49, allocations: 0 / 0.7208 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.4901, allocations: 11.91 kB / 0.7208 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.4914, allocations: 463.8 kB / 0.7212 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.4915, allocations: 43.84 kB / 0.7213 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.4915, allocations: 0 / 0.7213 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.4916, allocations: 27.91 kB / 0.7213 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.4917, allocations: 19.92 kB / 0.7213 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.4917, allocations: 0 / 0.7213 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.4932, allocations: 0.8076 MB / 0.7221 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.4932, allocations: 11.98 kB / 0.7221 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.4932, allocations: 15.92 kB / 0.7221 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.4938, allocations: 449 kB / 0.7226 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4939, allocations: 0 / 0.7226 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4939, allocations: 4 kB / 0.7226 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4939, allocations: 0 / 0.7226 GB, free: 13.26 MB / 0.5606 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.0005563/0.4944, allocations: 371.4 kB / 0.7229 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4945, allocations: 9.109 kB / 0.7229 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.4947, allocations: 16.91 kB / 0.7229 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.4948, allocations: 160.4 kB / 0.7231 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4948, allocations: 4.375 kB / 0.7231 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.4949, allocations: 8.125 kB / 0.7231 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.495, allocations: 65.66 kB / 0.7232 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.495, allocations: 0 / 0.7232 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4951, allocations: 7.938 kB / 0.7232 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4951, allocations: 0 / 0.7232 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/0.4951, allocations: 19.97 kB / 0.7232 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.4953, allocations: 165.6 kB / 0.7234 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.4954, allocations: 46.56 kB / 0.7234 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.4955, allocations: 28.78 kB / 0.7234 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.5071, allocations: 3.17 MB / 0.7265 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.5072, allocations: 42.44 kB / 0.7266 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.5072, allocations: 0 / 0.7266 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.04369/0.5509, allocations: 14.85 MB / 0.7411 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.551, allocations: 55.41 kB / 0.7411 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/0.5511, allocations: 89.86 kB / 0.7412 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.5511, allocations: 29.7 kB / 0.7412 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.5512, allocations: 88.08 kB / 0.7413 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.5512, allocations: 39.39 kB / 0.7414 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.5513, allocations: 33.7 kB / 0.7414 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5514, allocations: 322.9 kB / 0.7417 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.5515, allocations: 23.98 kB / 0.7417 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.358e-05/0.5515, allocations: 23.98 kB / 0.7417 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.5517, allocations: 56.86 kB / 0.7418 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5517, allocations: 0 / 0.7418 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002198/0.5519, allocations: 109.5 kB / 0.7419 GB, free: 9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5519, allocations: 5.719 kB / 0.7419 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5519, allocations: 0 / 0.7419 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.552, allocations: 4 kB / 0.7419 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5521, allocations: 27.98 kB / 0.7419 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.5521, allocations: 4 kB / 0.7419 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.5521, allocations: 0 / 0.7419 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.5521, allocations: 12 kB / 0.7419 GB, free: 8.949 MB / 0.5762 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.739e-05/0.5522, allocations: 121.7 kB / 0.7421 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.5523, allocations: 0 / 0.7421 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.5526, allocations: 129.4 kB / 0.7422 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5526, allocations: 0 / 0.7422 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5526, allocations: 4 kB / 0.7422 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5526, allocations: 3.984 kB / 0.7422 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5528, allocations: 177.6 kB / 0.7424 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5528, allocations: 0 / 0.7424 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.5529, allocations: 27.94 kB / 0.7424 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5529, allocations: 0 / 0.7424 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5529, allocations: 3.984 kB / 0.7424 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5529, allocations: 4 kB / 0.7424 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5529, allocations: 4 kB / 0.7424 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.5532, allocations: 151.8 kB / 0.7425 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.5533, allocations: 97.03 kB / 0.7426 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5534, allocations: 4.094 kB / 0.7426 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.5535, allocations: 8 kB / 0.7427 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.5535, allocations: 19.97 kB / 0.7427 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5536, allocations: 4 kB / 0.7427 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.5536, allocations: 83.2 kB / 0.7428 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5536, allocations: 0 / 0.7428 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001603/0.5552, allocations: 0.5624 MB / 0.7433 GB, free: 7.461 MB / 0.5762 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.00272/0.5579, allocations: 351.1 kB / 0.7436 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.5581, allocations: 67.91 kB / 0.7437 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5582, allocations: 0 / 0.7437 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.5582, allocations: 39.92 kB / 0.7437 GB, free: 7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.5584, allocations: 11.94 kB / 0.7438 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006268/0.559, allocations: 375.6 kB / 0.7441 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5594, allocations: 0.6923 MB / 0.7448 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.5594, allocations: 15.44 kB / 0.7448 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5594, allocations: 0 / 0.7448 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of Templates: time 0.2618/0.8213, allocations: 14.32 MB / 0.7588 GB, free: 154.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile (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)