Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001485/0.001485, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 196 kB / 16.79 MB, free: 6.809 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.482/1.482, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.1 MB / 425.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.55 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.92 MB / 0.5843 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.3844/0.5334, allocations: 134 MB / 0.7152 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02986/0.5633, allocations: 24.63 MB / 0.7393 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.5635, allocations: 1.219 kB / 0.7393 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.5638, allocations: 37.64 kB / 0.7393 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.5641, allocations: 86.23 kB / 0.7394 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01656/0.5807, allocations: 5.29 MB / 0.7446 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.5811, allocations: 308.2 kB / 0.7449 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.5811, allocations: 9.312 kB / 0.7449 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.5814, allocations: 138.3 kB / 0.745 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.5816, allocations: 89.72 kB / 0.7451 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.5816, allocations: 7.344 kB / 0.7451 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/0.6009, allocations: 10.85 MB / 0.7557 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.601, allocations: 35.89 kB / 0.7557 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.6012, allocations: 91.58 kB / 0.7558 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007397/0.6086, allocations: 4.136 MB / 0.7599 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6086, allocations: 0 / 0.7599 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6086, allocations: 4 kB / 0.7599 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6087, allocations: 0 / 0.7599 GB, free: 9.625 MB / 0.5762 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.00288/0.6115, allocations: 1.18 MB / 0.761 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6116, allocations: 8.031 kB / 0.761 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.6126, allocations: 88.66 kB / 0.7611 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.6129, allocations: 240 kB / 0.7613 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6129, allocations: 8.375 kB / 0.7613 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.6129, allocations: 19.94 kB / 0.7614 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6141, allocations: 451.2 kB / 0.7618 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6141, allocations: 4 kB / 0.7618 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.6141, allocations: 4 kB / 0.7618 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6141, allocations: 4 kB / 0.7618 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.6153, allocations: 0.601 MB / 0.7624 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.6163, allocations: 0.8705 MB / 0.7632 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.6171, allocations: 258.4 kB / 0.7635 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.6173, allocations: 74.59 kB / 0.7636 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0808/0.6981, allocations: 35.04 MB / 0.7978 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6981, allocations: 34.56 kB / 0.7978 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.6981, allocations: 3.938 kB / 0.7978 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001744/0.6999, allocations: 423.3 kB / 0.7982 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.6999, allocations: 55.41 kB / 0.7983 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7001, allocations: 143.8 kB / 0.7984 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.7001, allocations: 33.7 kB / 0.7984 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.7002, allocations: 108.4 kB / 0.7985 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.7003, allocations: 90.67 kB / 0.7986 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.7004, allocations: 73.67 kB / 0.7987 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7005, allocations: 330.8 kB / 0.799 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.7007, allocations: 83.94 kB / 0.7991 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.7009, allocations: 126.6 kB / 0.7992 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.7013, allocations: 224.5 kB / 0.7994 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7013, allocations: 4 kB / 0.7994 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007268/0.7021, allocations: 297.2 kB / 0.7997 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.7021, allocations: 4 kB / 0.7997 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.7021, allocations: 9.812 kB / 0.7997 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7021, allocations: 0 / 0.7997 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.7024, allocations: 83.88 kB / 0.7998 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7025, allocations: 0 / 0.7998 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.7026, allocations: 23.75 kB / 0.7998 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.7027, allocations: 36.06 kB / 0.7999 GB, free: 13.27 MB / 0.6231 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.0001251/0.7028, allocations: 125.8 kB / 0.8 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.703, allocations: 11.91 kB / 0.8 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.7053, allocations: 2.342 MB / 0.8023 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/0.7053, allocations: 11.98 kB / 0.8023 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7053, allocations: 4 kB / 0.8023 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.7054, allocations: 0 / 0.8023 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.7085, allocations: 3.427 MB / 0.8056 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7085, allocations: 0 / 0.8056 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.7088, allocations: 59.94 kB / 0.8057 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7088, allocations: 0 / 0.8057 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7089, allocations: 15.56 kB / 0.8057 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.7089, allocations: 0 / 0.8057 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7089, allocations: 0 / 0.8057 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.7096, allocations: 0.5507 MB / 0.8063 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.7098, allocations: 140.5 kB / 0.8064 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.7098, allocations: 15.92 kB / 0.8064 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.7101, allocations: 12 kB / 0.8064 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.7101, allocations: 19.97 kB / 0.8064 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.7101, allocations: 16 kB / 0.8065 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.392e-05/0.7102, allocations: 114 kB / 0.8066 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7102, allocations: 0 / 0.8066 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003957/0.7142, allocations: 1.62 MB / 0.8081 GB, free: 4.648 MB / 0.6231 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.007224/0.7214, allocations: 1.902 MB / 0.81 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006792/0.7221, allocations: 316.6 kB / 0.8103 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7221, allocations: 4.062 kB / 0.8103 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.7225, allocations: 245.2 kB / 0.8105 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.723, allocations: 56.66 kB / 0.8106 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.7241, allocations: 0.7924 MB / 0.8114 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.7244, allocations: 0.7699 MB / 0.8121 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.7246, allocations: 51.41 kB / 0.8122 GB, free: 476 kB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.7246, allocations: 0 / 0.8122 GB, free: 476 kB / 0.6231 GB Notification: Performance of Templates: time 0.04223/0.7668, allocations: 31.47 MB / 0.8429 GB, free: 0.9844 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)