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.001577/0.001577, allocations: 112.6 kB / 16.37 MB, free: 6 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.001856/0.001856, allocations: 196 kB / 17.31 MB, free: 5.613 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 64.12 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3409, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.143/0.484, allocations: 136.2 MB / 0.7144 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.5089, allocations: 22.32 MB / 0.7362 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.5091, allocations: 4 kB / 0.7362 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.5093, allocations: 51.66 kB / 0.7363 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.5097, allocations: 95.38 kB / 0.7364 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01511/0.5248, allocations: 6.668 MB / 0.7429 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.5252, allocations: 255.9 kB / 0.7431 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.963e-05/0.5253, allocations: 13.53 kB / 0.7431 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.5256, allocations: 143.4 kB / 0.7433 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.5257, allocations: 87.67 kB / 0.7434 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.5258, allocations: 8 kB / 0.7434 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.328/0.8538, allocations: 10.96 MB / 0.7541 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.655e-05/0.8539, allocations: 38.03 kB / 0.7541 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.854, allocations: 77.66 kB / 0.7542 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.8682, allocations: 6.155 MB / 0.7602 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8682, allocations: 0.5938 kB / 0.7602 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8682, allocations: 0.5 kB / 0.7602 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.8683, allocations: 1.25 kB / 0.7602 GB, free: 9.391 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.005113/0.8734, allocations: 1.188 MB / 0.7614 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.8734, allocations: 9.031 kB / 0.7614 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.8747, allocations: 86.45 kB / 0.7615 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.8749, allocations: 226.3 kB / 0.7617 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.875, allocations: 12.03 kB / 0.7617 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.875, allocations: 19.27 kB / 0.7617 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.876, allocations: 453.5 kB / 0.7621 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.876, allocations: 3.938 kB / 0.7621 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.8761, allocations: 10.22 kB / 0.7621 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8761, allocations: 6.781 kB / 0.7622 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.8772, allocations: 0.5909 MB / 0.7627 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.878, allocations: 0.8837 MB / 0.7636 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.8789, allocations: 252.1 kB / 0.7638 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.879, allocations: 76.92 kB / 0.7639 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08312/0.9621, allocations: 35.43 MB / 0.7985 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.9622, allocations: 39.72 kB / 0.7985 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.9622, allocations: 0 / 0.7985 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.00169/0.9639, allocations: 414.8 kB / 0.7989 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.964, allocations: 57.41 kB / 0.799 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.9641, allocations: 144.3 kB / 0.7991 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.9641, allocations: 29.14 kB / 0.7992 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.9642, allocations: 114.1 kB / 0.7993 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.9643, allocations: 84.31 kB / 0.7993 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.9644, allocations: 77.58 kB / 0.7994 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9645, allocations: 330.4 kB / 0.7997 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.9647, allocations: 85.2 kB / 0.7998 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.9649, allocations: 130.7 kB / 0.7999 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.9652, allocations: 227.4 kB / 0.8002 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9652, allocations: 0 / 0.8002 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006548/0.9659, allocations: 301.3 kB / 0.8004 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9659, allocations: 5.5 kB / 0.8005 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9659, allocations: 3.031 kB / 0.8005 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.966, allocations: 6.156 kB / 0.8005 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.9662, allocations: 79.19 kB / 0.8005 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.9663, allocations: 0 / 0.8005 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.9664, allocations: 25.97 kB / 0.8006 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.9665, allocations: 28.34 kB / 0.8006 GB, free: 5.613 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.9666, allocations: 129.5 kB / 0.8007 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.9668, allocations: 17.34 kB / 0.8007 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.9693, allocations: 2.345 MB / 0.803 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.9693, allocations: 8.812 kB / 0.803 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.9694, allocations: 0 / 0.803 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.9694, allocations: 0 / 0.803 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.9725, allocations: 3.437 MB / 0.8064 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9725, allocations: 0 / 0.8064 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.9728, allocations: 57.05 kB / 0.8064 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.9728, allocations: 5.203 kB / 0.8064 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.9728, allocations: 9.656 kB / 0.8065 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.9728, allocations: 3.938 kB / 0.8065 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9728, allocations: 2.156 kB / 0.8065 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.9736, allocations: 0.5446 MB / 0.807 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.9737, allocations: 132 kB / 0.8071 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.9737, allocations: 13.98 kB / 0.8071 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.974, allocations: 17.5 kB / 0.8071 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.974, allocations: 18.39 kB / 0.8072 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.974, allocations: 16.19 kB / 0.8072 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.9741, allocations: 106.3 kB / 0.8073 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9741, allocations: 4.297 kB / 0.8073 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005717/0.9798, allocations: 1.626 MB / 0.8089 GB, free: 4.234 MB / 0.5919 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.0108/0.9906, allocations: 1.884 MB / 0.8107 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005946/0.9912, allocations: 321.5 kB / 0.811 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9913, allocations: 0 / 0.811 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.9916, allocations: 246.4 kB / 0.8113 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.9921, allocations: 68.25 kB / 0.8113 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.993, allocations: 0.6203 MB / 0.8119 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.9934, allocations: 0.7652 MB / 0.8127 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004218/0.9938, allocations: 405.8 kB / 0.8131 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.9939, allocations: 46.41 kB / 0.8131 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of SimCode: time 1.473e-06/0.9939, allocations: 0 / 0.8131 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of Templates: time 0.07164/1.066, allocations: 57.02 MB / 0.8688 GB, free: 9.305 MB / 0.6544 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)