Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005114/0.005114, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.00131/0.001309, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7874/0.7874, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 66.19 kB / 0.5814 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.203, allocations: 80.2 MB / 0.6597 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1701/0.3731, allocations: 136.1 MB / 0.7926 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.4402/0.8134, allocations: 22.33 MB / 0.8144 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.8136, allocations: 1.406 kB / 0.8144 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.8139, allocations: 46.52 kB / 0.8145 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.8142, allocations: 97.78 kB / 0.8146 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01731/0.8315, allocations: 6.688 MB / 0.8211 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005296/0.8321, allocations: 256 kB / 0.8214 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.8321, allocations: 13.94 kB / 0.8214 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.8325, allocations: 141.7 kB / 0.8215 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.8326, allocations: 96.45 kB / 0.8216 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.8327, allocations: 8.781 kB / 0.8216 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02208/0.8548, allocations: 10.96 MB / 0.8323 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.8549, allocations: 41.38 kB / 0.8324 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.8552, allocations: 81.47 kB / 0.8324 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01717/0.8723, allocations: 6.148 MB / 0.8384 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.8724, allocations: 0 / 0.8384 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8724, allocations: 0.9688 kB / 0.8384 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8724, allocations: 1.094 kB / 0.8384 GB, free: 2.699 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004056/0.8765, allocations: 1.195 MB / 0.8396 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8765, allocations: 10.75 kB / 0.8396 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.8777, allocations: 83.67 kB / 0.8397 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.878, allocations: 221.7 kB / 0.8399 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.8781, allocations: 11.84 kB / 0.8399 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.8781, allocations: 21.09 kB / 0.8399 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.8791, allocations: 449.3 kB / 0.8404 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8792, allocations: 1.031 kB / 0.8404 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.8792, allocations: 9.75 kB / 0.8404 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8792, allocations: 5.438 kB / 0.8404 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.8803, allocations: 0.5959 MB / 0.841 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.8812, allocations: 0.8829 MB / 0.8418 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.882, allocations: 254 kB / 0.8421 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.8821, allocations: 73.94 kB / 0.8421 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07995/0.962, allocations: 35.42 MB / 0.8767 GB, free: 11.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.9621, allocations: 39.38 kB / 0.8768 GB, free: 11.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.9621, allocations: 0 / 0.8768 GB, free: 11.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001775/0.9639, allocations: 420.2 kB / 0.8772 GB, free: 11.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.9639, allocations: 57.33 kB / 0.8772 GB, free: 11.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.9641, allocations: 140.5 kB / 0.8774 GB, free: 11.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.9641, allocations: 32.02 kB / 0.8774 GB, free: 11.06 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/0.9642, allocations: 106.8 kB / 0.8775 GB, free: 10.97 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.937e-05/0.9643, allocations: 83.41 kB / 0.8776 GB, free: 10.91 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.9644, allocations: 89 kB / 0.8777 GB, free: 10.87 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9646, allocations: 325.9 kB / 0.878 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.9648, allocations: 87.53 kB / 0.878 GB, free: 10.54 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.965, allocations: 130.6 kB / 0.8782 GB, free: 10.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.9654, allocations: 216.7 kB / 0.8784 GB, free: 10.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.9654, allocations: 0 / 0.8784 GB, free: 10.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000704/0.9661, allocations: 304.4 kB / 0.8787 GB, free: 10.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.9661, allocations: 6.094 kB / 0.8787 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9662, allocations: 0 / 0.8787 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.9662, allocations: 2.5 kB / 0.8787 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.9665, allocations: 79.5 kB / 0.8788 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.9665, allocations: 11.28 kB / 0.8788 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.9667, allocations: 24.41 kB / 0.8788 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.9667, allocations: 24.92 kB / 0.8788 GB, free: 10.29 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 0.000129/0.9669, allocations: 134.2 kB / 0.8789 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.9671, allocations: 25.25 kB / 0.879 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.9691, allocations: 2.333 MB / 0.8812 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.9692, allocations: 11.23 kB / 0.8812 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.9692, allocations: 0 / 0.8812 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9692, allocations: 0 / 0.8812 GB, free: 9.391 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.9722, allocations: 3.433 MB / 0.8846 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.9722, allocations: 1.203 kB / 0.8846 GB, free: 7.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.9725, allocations: 61.59 kB / 0.8847 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.9725, allocations: 8 kB / 0.8847 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.9725, allocations: 3.25 kB / 0.8847 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.9725, allocations: 7.938 kB / 0.8847 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9725, allocations: 0 / 0.8847 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.9733, allocations: 0.5473 MB / 0.8852 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.9734, allocations: 138.9 kB / 0.8853 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.9734, allocations: 3.562 kB / 0.8854 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.9737, allocations: 19.36 kB / 0.8854 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.9737, allocations: 19.97 kB / 0.8854 GB, free: 6.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.9737, allocations: 12.53 kB / 0.8854 GB, free: 6.473 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.931e-05/0.9738, allocations: 112.5 kB / 0.8855 GB, free: 6.375 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9738, allocations: 0 / 0.8855 GB, free: 6.375 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004963/0.9788, allocations: 1.618 MB / 0.8871 GB, free: 4.824 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00914/0.9879, allocations: 1.899 MB / 0.8889 GB, free: 3.133 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0006683/0.9886, allocations: 322.5 kB / 0.8892 GB, free: 2.922 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9887, allocations: 0 / 0.8892 GB, free: 2.922 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.989, allocations: 245.1 kB / 0.8895 GB, free: 2.793 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.9895, allocations: 59.52 kB / 0.8895 GB, free: 2.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.9906, allocations: 0.6257 MB / 0.8902 GB, free: 2.203 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.991, allocations: 0.7661 MB / 0.8909 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005871/0.9916, allocations: 410.5 kB / 0.8913 GB, free: 1.023 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.9917, allocations: 46.28 kB / 0.8913 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.9918, allocations: 4 kB / 0.8913 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of Templates: time 0.08265/1.074, allocations: 57.05 MB / 0.9471 GB, free: 7.988 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)