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.006865/0.006866, allocations: 101.5 kB / 15.73 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.001263/0.001263, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.845/0.845, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 57.5 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.166, allocations: 80.93 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5945/0.7605, allocations: 136.1 MB / 0.7976 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02365/0.7842, allocations: 22.32 MB / 0.8194 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.7845, allocations: 1.906 kB / 0.8194 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.7849, allocations: 55.42 kB / 0.8195 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.7853, allocations: 93.3 kB / 0.8196 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01771/0.803, allocations: 6.696 MB / 0.8261 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004093/0.8034, allocations: 249.5 kB / 0.8263 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.8035, allocations: 13.38 kB / 0.8263 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.8038, allocations: 146 kB / 0.8265 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.804, allocations: 93.09 kB / 0.8266 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.804, allocations: 7.844 kB / 0.8266 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02245/0.8265, allocations: 10.96 MB / 0.8373 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.8266, allocations: 38.27 kB / 0.8373 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.8268, allocations: 77.06 kB / 0.8374 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01996/0.8467, allocations: 6.16 MB / 0.8434 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.8468, allocations: 3.938 kB / 0.8434 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8468, allocations: 4 kB / 0.8434 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.8468, allocations: 0 / 0.8434 GB, free: 8.105 MB / 0.6075 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.00487/0.8517, allocations: 1.185 MB / 0.8446 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.8518, allocations: 9.109 kB / 0.8446 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.853, allocations: 88.66 kB / 0.8447 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.8534, allocations: 228.1 kB / 0.8449 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8534, allocations: 12.38 kB / 0.8449 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.8534, allocations: 15.94 kB / 0.8449 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.8547, allocations: 448.8 kB / 0.8453 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8548, allocations: 0 / 0.8453 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.8548, allocations: 4 kB / 0.8453 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.8548, allocations: 4 kB / 0.8453 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.8562, allocations: 0.601 MB / 0.8459 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.8574, allocations: 0.8782 MB / 0.8468 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.8584, allocations: 254.2 kB / 0.847 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.8585, allocations: 80.83 kB / 0.8471 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09481/0.9533, allocations: 35.41 MB / 0.8817 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.9534, allocations: 38.56 kB / 0.8817 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.9534, allocations: 0 / 0.8817 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001847/0.9553, allocations: 421.7 kB / 0.8821 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.9553, allocations: 59.41 kB / 0.8822 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.9555, allocations: 135.4 kB / 0.8823 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.9555, allocations: 33.7 kB / 0.8823 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.9556, allocations: 112.3 kB / 0.8825 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.9557, allocations: 86.73 kB / 0.8825 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.9558, allocations: 77.66 kB / 0.8826 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9559, allocations: 330.8 kB / 0.8829 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.9561, allocations: 75.95 kB / 0.883 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.9564, allocations: 129.1 kB / 0.8831 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.9568, allocations: 229.8 kB / 0.8833 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9568, allocations: 3.938 kB / 0.8833 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007072/0.9575, allocations: 289.3 kB / 0.8836 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9576, allocations: 4 kB / 0.8836 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9576, allocations: 11.97 kB / 0.8836 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9576, allocations: 0 / 0.8836 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.9579, allocations: 79.94 kB / 0.8837 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.9579, allocations: 3.938 kB / 0.8837 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.9581, allocations: 27.91 kB / 0.8837 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.9582, allocations: 27.92 kB / 0.8838 GB, free: 11.38 MB / 0.6544 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.0001351/0.9583, allocations: 125.8 kB / 0.8839 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.9585, allocations: 19.75 kB / 0.8839 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.9609, allocations: 2.334 MB / 0.8862 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.9609, allocations: 11.98 kB / 0.8862 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9609, allocations: 0 / 0.8862 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.961, allocations: 5.359 kB / 0.8862 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.9642, allocations: 3.436 MB / 0.8896 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.9642, allocations: 0 / 0.8896 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.9645, allocations: 55.89 kB / 0.8896 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9645, allocations: 7.938 kB / 0.8896 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.9646, allocations: 15.92 kB / 0.8896 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.9646, allocations: 0 / 0.8896 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.9646, allocations: 0 / 0.8896 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007674/0.9653, allocations: 0.5388 MB / 0.8902 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.9655, allocations: 144.5 kB / 0.8903 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.9655, allocations: 11.38 kB / 0.8903 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.9658, allocations: 15.98 kB / 0.8903 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.9658, allocations: 15.98 kB / 0.8903 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.9659, allocations: 15.98 kB / 0.8904 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.9659, allocations: 105 kB / 0.8905 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9659, allocations: 0 / 0.8905 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004205/0.9702, allocations: 1.628 MB / 0.892 GB, free: 2.742 MB / 0.6544 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.00808/0.9782, allocations: 1.887 MB / 0.8939 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005896/0.9788, allocations: 324.3 kB / 0.8942 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9789, allocations: 3.938 kB / 0.8942 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.9792, allocations: 241.2 kB / 0.8944 GB, free: 296 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.9797, allocations: 74.52 kB / 0.8945 GB, free: 224 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.9808, allocations: 0.6348 MB / 0.8951 GB, free: 15.56 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.9812, allocations: 0.7699 MB / 0.8959 GB, free: 14.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005563/0.9817, allocations: 405.1 kB / 0.8963 GB, free: 14.36 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.9819, allocations: 47.41 kB / 0.8963 GB, free: 14.32 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/0.9819, allocations: 0 / 0.8963 GB, free: 14.32 MB / 0.67 GB Notification: Performance of Templates: time 0.07215/1.054, allocations: 57.05 MB / 0.952 GB, free: 5.23 MB / 0.7169 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)