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-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_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.000838/0.0008379, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009152/0.0009152, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8548/0.8548, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 12.61 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.34/0.4839, allocations: 114.8 MB / 0.6993 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02384/0.5077, allocations: 19.71 MB / 0.7186 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.508, allocations: 1.125 kB / 0.7186 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.5082, allocations: 33.92 kB / 0.7186 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.5085, allocations: 78.61 kB / 0.7187 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02139/0.5299, allocations: 5.127 MB / 0.7237 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.5303, allocations: 164.5 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.5304, allocations: 8.859 kB / 0.7239 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.5308, allocations: 123 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.5311, allocations: 80.34 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.5311, allocations: 10.75 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02519/0.5563, allocations: 10.68 MB / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.5565, allocations: 35.89 kB / 0.7345 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5566, allocations: 53.64 kB / 0.7346 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009879/0.5665, allocations: 4.089 MB / 0.7386 GB, free: 1.078 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5665, allocations: 7.938 kB / 0.7386 GB, free: 1.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5665, allocations: 0 / 0.7386 GB, free: 1.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5665, allocations: 0 / 0.7386 GB, free: 1.07 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00368/0.5702, allocations: 1.148 MB / 0.7397 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5703, allocations: 8.031 kB / 0.7397 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.5714, allocations: 85.61 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.5716, allocations: 226.8 kB / 0.74 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5717, allocations: 17.94 kB / 0.74 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.5717, allocations: 23.89 kB / 0.7401 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5728, allocations: 447.3 kB / 0.7405 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5728, allocations: 0 / 0.7405 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.5729, allocations: 8 kB / 0.7405 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.5729, allocations: 4 kB / 0.7405 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.574, allocations: 0.5931 MB / 0.7411 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5751, allocations: 0.8978 MB / 0.742 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.5759, allocations: 252.8 kB / 0.7422 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08406/0.6599, allocations: 35.36 MB / 0.7767 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.66, allocations: 36.53 kB / 0.7768 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.495e-06/0.66, allocations: 4 kB / 0.7768 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001638/0.6617, allocations: 419.3 kB / 0.7772 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.6617, allocations: 55.41 kB / 0.7772 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.6619, allocations: 140.1 kB / 0.7774 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.6619, allocations: 33.7 kB / 0.7774 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.197e-05/0.662, allocations: 112.3 kB / 0.7775 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.521e-05/0.6621, allocations: 86.73 kB / 0.7776 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.6621, allocations: 8 kB / 0.7776 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6622, allocations: 330.8 kB / 0.7779 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.6624, allocations: 75.95 kB / 0.778 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.6626, allocations: 124.3 kB / 0.7781 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.6628, allocations: 91.97 kB / 0.7782 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6628, allocations: 4 kB / 0.7782 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006421/0.6634, allocations: 292.8 kB / 0.7785 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.6634, allocations: 4 kB / 0.7785 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6635, allocations: 4 kB / 0.7785 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6635, allocations: 0 / 0.7785 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.6638, allocations: 83.88 kB / 0.7785 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.6638, allocations: 7.922 kB / 0.7786 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.664, allocations: 27.91 kB / 0.7786 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.664, allocations: 19.98 kB / 0.7786 GB, free: 4.766 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.6641, allocations: 133.7 kB / 0.7787 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.6643, allocations: 19.8 kB / 0.7787 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.6666, allocations: 2.339 MB / 0.781 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.6666, allocations: 11.98 kB / 0.781 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6666, allocations: 7.75 kB / 0.781 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6666, allocations: 3.984 kB / 0.7811 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6697, allocations: 3.432 MB / 0.7844 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6697, allocations: 0 / 0.7844 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.6699, allocations: 55.95 kB / 0.7845 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6699, allocations: 3.984 kB / 0.7845 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.67, allocations: 4 kB / 0.7845 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.67, allocations: 0 / 0.7845 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.67, allocations: 0 / 0.7845 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.6707, allocations: 0.5509 MB / 0.785 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.6709, allocations: 156.5 kB / 0.7852 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.6709, allocations: 0 / 0.7852 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6711, allocations: 16 kB / 0.7852 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.6712, allocations: 23.91 kB / 0.7852 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.6712, allocations: 15.98 kB / 0.7852 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.6713, allocations: 101.6 kB / 0.7853 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6713, allocations: 0 / 0.7853 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004299/0.6756, allocations: 1.624 MB / 0.7869 GB, free: 12.12 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008004/0.6836, allocations: 1.895 MB / 0.7887 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005745/0.6842, allocations: 320.4 kB / 0.789 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6842, allocations: 3.938 kB / 0.789 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.6845, allocations: 241.2 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.685, allocations: 60.25 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.686, allocations: 0.7892 MB / 0.7901 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6864, allocations: 0.778 MB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005326/0.6869, allocations: 417 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.687, allocations: 43.41 kB / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.687, allocations: 0 / 0.7913 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.07006/0.7571, allocations: 57.86 MB / 0.8478 GB, free: 13.67 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: