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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.2 MB / 148.9 MB, free: 12.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 403.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 118.7 kB / 484.4 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009659/0.0009659, allocations: 51.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1352, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4513/0.5866, allocations: 134 MB / 0.7711 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02928/0.6159, allocations: 24.63 MB / 0.7951 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.6161, allocations: 3.938 kB / 0.7951 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.6164, allocations: 39.8 kB / 0.7952 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.6168, allocations: 83.48 kB / 0.7952 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.6331, allocations: 5.299 MB / 0.8004 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.6336, allocations: 299.9 kB / 0.8007 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.6336, allocations: 9.562 kB / 0.8007 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003679/0.634, allocations: 139.4 kB / 0.8008 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.6342, allocations: 91.66 kB / 0.8009 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.6342, allocations: 8 kB / 0.8009 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02043/0.6547, allocations: 10.86 MB / 0.8115 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.6548, allocations: 39.83 kB / 0.8116 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.6551, allocations: 75.66 kB / 0.8116 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.6707, allocations: 6.195 MB / 0.8177 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6708, allocations: 4 kB / 0.8177 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6708, allocations: 0 / 0.8177 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6708, allocations: 0 / 0.8177 GB, free: 13.2 MB / 0.5573 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.003615/0.6744, allocations: 1.178 MB / 0.8189 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.6745, allocations: 12.03 kB / 0.8189 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6756, allocations: 80.67 kB / 0.8189 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.6759, allocations: 232 kB / 0.8192 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.676, allocations: 16.38 kB / 0.8192 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.676, allocations: 19.94 kB / 0.8192 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6771, allocations: 460.8 kB / 0.8196 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6772, allocations: 0 / 0.8196 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.6772, allocations: 8 kB / 0.8196 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.6772, allocations: 4 kB / 0.8196 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6784, allocations: 0.5937 MB / 0.8202 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.6796, allocations: 0.8782 MB / 0.8211 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000777/0.6804, allocations: 248.3 kB / 0.8213 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.6805, allocations: 76.83 kB / 0.8214 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08907/0.7696, allocations: 35.05 MB / 0.8556 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.7697, allocations: 42.98 kB / 0.8557 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.7697, allocations: 0 / 0.8557 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.00169/0.7714, allocations: 415 kB / 0.8561 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.7714, allocations: 55.41 kB / 0.8561 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.7716, allocations: 143.8 kB / 0.8563 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.7716, allocations: 33.7 kB / 0.8563 GB, free: 2.348 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.7717, allocations: 112.4 kB / 0.8564 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.7718, allocations: 78.75 kB / 0.8565 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.7719, allocations: 81.66 kB / 0.8565 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.772, allocations: 330.8 kB / 0.8569 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.7722, allocations: 79.95 kB / 0.8569 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.7724, allocations: 133 kB / 0.8571 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.7728, allocations: 229.8 kB / 0.8573 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.7729, allocations: 3.312 kB / 0.8573 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006721/0.7735, allocations: 301.2 kB / 0.8576 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.7736, allocations: 8 kB / 0.8576 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7736, allocations: 0 / 0.8576 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.7736, allocations: 4 kB / 0.8576 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.7739, allocations: 79.88 kB / 0.8577 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7739, allocations: 4 kB / 0.8577 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.7741, allocations: 19.75 kB / 0.8577 GB, free: 0.8555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.7742, allocations: 27.92 kB / 0.8577 GB, free: 0.8281 MB / 0.5886 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.0001486/0.7743, allocations: 135.2 kB / 0.8578 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.7745, allocations: 15.91 kB / 0.8579 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.7774, allocations: 2.354 MB / 0.8602 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.7774, allocations: 11.98 kB / 0.8602 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7774, allocations: 3.938 kB / 0.8602 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7774, allocations: 0 / 0.8602 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.7811, allocations: 3.419 MB / 0.8635 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7811, allocations: 0 / 0.8635 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.7814, allocations: 59.89 kB / 0.8636 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.7814, allocations: 3.984 kB / 0.8636 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.7814, allocations: 11.94 kB / 0.8636 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.7814, allocations: 0 / 0.8636 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.7815, allocations: 4 kB / 0.8636 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.7829, allocations: 1.373 MB / 0.8649 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.783, allocations: 140.6 kB / 0.8651 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.7831, allocations: 7.984 kB / 0.8651 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.7833, allocations: 12 kB / 0.8651 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.7833, allocations: 15.97 kB / 0.8651 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.7834, allocations: 16 kB / 0.8651 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.7835, allocations: 109.1 kB / 0.8652 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7835, allocations: 0 / 0.8652 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005021/0.7885, allocations: 1.651 MB / 0.8668 GB, free: 7.297 MB / 0.6042 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.008417/0.7969, allocations: 1.907 MB / 0.8687 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.7977, allocations: 320.6 kB / 0.869 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7977, allocations: 8 kB / 0.869 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.798, allocations: 240.5 kB / 0.8692 GB, free: 4.832 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.7986, allocations: 69.22 kB / 0.8693 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.8001, allocations: 1.092 MB / 0.8704 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.8005, allocations: 0.7778 MB / 0.8711 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005881/0.8011, allocations: 397.1 kB / 0.8715 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.8013, allocations: 55.34 kB / 0.8716 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.8013, allocations: 0 / 0.8716 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of Templates: time 0.07302/0.8743, allocations: 57.22 MB / 0.9274 GB, free: 9.125 MB / 0.6667 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)