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.0008555/0.0008555, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0009182/0.0009184, allocations: 168.7 kB / 15.95 MB, free: 204 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.155/1.155, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6514/0.6514, allocations: 132.4 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002598/0.0002598, allocations: 8 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.32, allocations: 81.57 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1171/0.4371, allocations: 123.2 MB / 0.7034 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.4582, allocations: 21 MB / 0.7239 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.4584, allocations: 4 kB / 0.7239 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.4586, allocations: 31.75 kB / 0.724 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.4588, allocations: 95.42 kB / 0.7241 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.4704, allocations: 5.116 MB / 0.729 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.4707, allocations: 275.8 kB / 0.7293 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.4708, allocations: 9.562 kB / 0.7293 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.471, allocations: 131.6 kB / 0.7294 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.4712, allocations: 91.66 kB / 0.7295 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.4712, allocations: 4 kB / 0.7295 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01564/0.4868, allocations: 10.47 MB / 0.7398 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.4869, allocations: 31.89 kB / 0.7398 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.487, allocations: 57.58 kB / 0.7398 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005819/0.4928, allocations: 4.097 MB / 0.7438 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4929, allocations: 0 / 0.7438 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4929, allocations: 0 / 0.7438 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4929, allocations: 0 / 0.7438 GB, free: 11.56 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.002705/0.4956, allocations: 1.148 MB / 0.745 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4956, allocations: 12.02 kB / 0.745 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009323/0.4966, allocations: 79.73 kB / 0.7451 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4968, allocations: 226.8 kB / 0.7453 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4968, allocations: 15.89 kB / 0.7453 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.4969, allocations: 24 kB / 0.7453 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.4978, allocations: 448.5 kB / 0.7457 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.4978, allocations: 0 / 0.7457 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.4979, allocations: 12 kB / 0.7457 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4979, allocations: 4 kB / 0.7458 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.4989, allocations: 0.5969 MB / 0.7463 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.4998, allocations: 0.8822 MB / 0.7472 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/0.5004, allocations: 247.7 kB / 0.7474 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.5006, allocations: 76.77 kB / 0.7475 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06794/0.5685, allocations: 35.34 MB / 0.782 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5686, allocations: 38.56 kB / 0.7821 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.665e-06/0.5686, allocations: 3.984 kB / 0.7821 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001456/0.57, allocations: 414.9 kB / 0.7825 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.5701, allocations: 55.41 kB / 0.7825 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.5702, allocations: 149.8 kB / 0.7826 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.5702, allocations: 29.7 kB / 0.7827 GB, free: 472 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.5703, allocations: 112.3 kB / 0.7828 GB, free: 356 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.5704, allocations: 86.73 kB / 0.7829 GB, free: 268 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.5704, allocations: 8 kB / 0.7829 GB, free: 260 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5705, allocations: 322.8 kB / 0.7832 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.5707, allocations: 87.94 kB / 0.7833 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.5708, allocations: 126.6 kB / 0.7834 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.5711, allocations: 84.64 kB / 0.7835 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5711, allocations: 0 / 0.7835 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006116/0.5717, allocations: 299.9 kB / 0.7838 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5717, allocations: 6.031 kB / 0.7838 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5717, allocations: 7.938 kB / 0.7838 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5717, allocations: 4 kB / 0.7838 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.572, allocations: 79.88 kB / 0.7838 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.572, allocations: 0 / 0.7838 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.5722, allocations: 23.75 kB / 0.7839 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.5722, allocations: 28.08 kB / 0.7839 GB, free: 15.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.5723, allocations: 133.8 kB / 0.784 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5725, allocations: 19.81 kB / 0.784 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.5746, allocations: 2.339 MB / 0.7863 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5746, allocations: 11.98 kB / 0.7863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5746, allocations: 4 kB / 0.7863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5746, allocations: 0 / 0.7863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.5776, allocations: 3.424 MB / 0.7897 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.5776, allocations: 4 kB / 0.7897 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5778, allocations: 59.94 kB / 0.7897 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5778, allocations: 0 / 0.7897 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.5778, allocations: 8 kB / 0.7898 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5778, allocations: 0 / 0.7898 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5778, allocations: 7.891 kB / 0.7898 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.5786, allocations: 0.5382 MB / 0.7903 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.5787, allocations: 140.5 kB / 0.7904 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.5787, allocations: 11.98 kB / 0.7904 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5789, allocations: 16 kB / 0.7904 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.579, allocations: 23.91 kB / 0.7905 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.579, allocations: 11.95 kB / 0.7905 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.5791, allocations: 107.2 kB / 0.7906 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5791, allocations: 0 / 0.7906 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003431/0.5825, allocations: 1.624 MB / 0.7922 GB, free: 6.543 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 (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.00546/0.588, allocations: 1.899 MB / 0.794 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.5885, allocations: 325.3 kB / 0.7943 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5885, allocations: 7.875 kB / 0.7943 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.5888, allocations: 237.5 kB / 0.7946 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.5893, allocations: 60.06 kB / 0.7946 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.5902, allocations: 0.7967 MB / 0.7954 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.5904, allocations: 0.7664 MB / 0.7962 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004827/0.5909, allocations: 409 kB / 0.7965 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.591, allocations: 43.42 kB / 0.7966 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5911, allocations: 0 / 0.7966 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.2635/0.8545, allocations: 57.89 MB / 0.8531 GB, free: 193.5 MB / 0.6387 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)