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.001142/0.001142, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001367/0.001367, allocations: 172.7 kB / 15.95 MB, free: 208 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.53/1.53, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.059/1.059, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004168, allocations: 8 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 82.31 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5647/0.7552, allocations: 123.2 MB / 0.7077 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02864/0.7839, allocations: 21 MB / 0.7282 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.7842, allocations: 1.094 kB / 0.7282 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.7845, allocations: 37.56 kB / 0.7282 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.7849, allocations: 82.97 kB / 0.7283 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02599/0.8109, allocations: 5.123 MB / 0.7333 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.8114, allocations: 274 kB / 0.7336 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.8115, allocations: 20.69 kB / 0.7336 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003617/0.8119, allocations: 133.5 kB / 0.7337 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.8121, allocations: 89.19 kB / 0.7338 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.8121, allocations: 7.312 kB / 0.7338 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02256/0.8347, allocations: 10.47 MB / 0.7441 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.8348, allocations: 39.88 kB / 0.7441 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.835, allocations: 53.64 kB / 0.7441 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.8451, allocations: 4.085 MB / 0.7481 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.8451, allocations: 0 / 0.7481 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.136e-06/0.8451, allocations: 0 / 0.7481 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8452, allocations: 0 / 0.7481 GB, free: 8.059 MB / 0.5606 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.005106/0.8503, allocations: 1.148 MB / 0.7493 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.8503, allocations: 16.03 kB / 0.7493 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.8515, allocations: 85.62 kB / 0.7494 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.8518, allocations: 226.8 kB / 0.7496 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.8518, allocations: 8 kB / 0.7496 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.8518, allocations: 19.95 kB / 0.7496 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.8529, allocations: 451.2 kB / 0.75 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.853, allocations: 4 kB / 0.75 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.853, allocations: 12 kB / 0.75 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.853, allocations: 4 kB / 0.75 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.8541, allocations: 0.5892 MB / 0.7506 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.8553, allocations: 0.8783 MB / 0.7515 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.856, allocations: 242.4 kB / 0.7517 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.8561, allocations: 78.58 kB / 0.7518 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07967/0.9358, allocations: 35.34 MB / 0.7863 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.9359, allocations: 38.5 kB / 0.7863 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.9359, allocations: 0 / 0.7863 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.001622/0.9375, allocations: 415.3 kB / 0.7867 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.9376, allocations: 59.39 kB / 0.7868 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.9377, allocations: 138 kB / 0.7869 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.9378, allocations: 33.7 kB / 0.787 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.9379, allocations: 108.4 kB / 0.7871 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.323e-05/0.938, allocations: 78.77 kB / 0.7871 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.938, allocations: 4 kB / 0.7871 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.9381, allocations: 330.8 kB / 0.7874 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.9383, allocations: 79.95 kB / 0.7875 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.9385, allocations: 136.3 kB / 0.7877 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.9387, allocations: 87.42 kB / 0.7877 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9387, allocations: 0 / 0.7877 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006999/0.9394, allocations: 297.3 kB / 0.788 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.9395, allocations: 8.031 kB / 0.788 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.9395, allocations: 4 kB / 0.788 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.9395, allocations: 4 kB / 0.788 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.9398, allocations: 83.88 kB / 0.7881 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.9398, allocations: 0 / 0.7881 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.94, allocations: 27.73 kB / 0.7881 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-05/0.9401, allocations: 19.98 kB / 0.7882 GB, free: 11.71 MB / 0.6075 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.0001541/0.9403, allocations: 133.7 kB / 0.7883 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.9404, allocations: 23.84 kB / 0.7883 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.943, allocations: 2.343 MB / 0.7906 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.943, allocations: 7.984 kB / 0.7906 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.9431, allocations: 5.188 kB / 0.7906 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.9431, allocations: 7.984 kB / 0.7906 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.947, allocations: 3.42 MB / 0.794 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.9471, allocations: 0 / 0.794 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.9473, allocations: 55.89 kB / 0.794 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.9474, allocations: 3.938 kB / 0.794 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.9474, allocations: 15.98 kB / 0.794 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.9474, allocations: 0 / 0.794 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9474, allocations: 0 / 0.794 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008316/0.9482, allocations: 0.5479 MB / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.9484, allocations: 144.5 kB / 0.7947 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.9484, allocations: 4 kB / 0.7947 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.9487, allocations: 23.98 kB / 0.7947 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.9487, allocations: 11.98 kB / 0.7947 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.9488, allocations: 15.98 kB / 0.7948 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.828e-05/0.9489, allocations: 105.3 kB / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9489, allocations: 0 / 0.7949 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005148/0.954, allocations: 1.628 MB / 0.7965 GB, free: 3.074 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.008686/0.9627, allocations: 1.894 MB / 0.7983 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.9635, allocations: 316.4 kB / 0.7986 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.9635, allocations: 0 / 0.7986 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.9638, allocations: 245.5 kB / 0.7988 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005818/0.9644, allocations: 63.67 kB / 0.7989 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.9656, allocations: 0.7935 MB / 0.7997 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.9659, allocations: 0.7664 MB / 0.8004 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005893/0.9665, allocations: 405.1 kB / 0.8008 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.9666, allocations: 47.41 kB / 0.8009 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of SimCode: time 1.984e-06/0.9666, allocations: 4 kB / 0.8009 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of Templates: time 0.09004/1.057, allocations: 57.89 MB / 0.8574 GB, free: 4.594 MB / 0.67 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)