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.001418/0.001418, allocations: 114.3 kB / 16.37 MB, free: 6.016 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.001557/0.001557, allocations: 194.7 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3879, allocations: 80.18 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1411/0.529, allocations: 136.1 MB / 0.7144 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02603/0.555, allocations: 22.33 MB / 0.7362 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000246/0.5553, allocations: 0 / 0.7362 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.5557, allocations: 47.69 kB / 0.7363 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.5561, allocations: 95.34 kB / 0.7364 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01734/0.5735, allocations: 6.684 MB / 0.7429 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.5739, allocations: 251.9 kB / 0.7431 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.5739, allocations: 17.55 kB / 0.7432 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003112/0.5742, allocations: 135.4 kB / 0.7433 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.5744, allocations: 95.59 kB / 0.7434 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.5744, allocations: 8 kB / 0.7434 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3644/0.9389, allocations: 10.95 MB / 0.7541 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.939, allocations: 35.95 kB / 0.7541 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.9391, allocations: 84.42 kB / 0.7542 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.9543, allocations: 6.148 MB / 0.7602 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.9543, allocations: 1.156 kB / 0.7602 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9543, allocations: 1.594 kB / 0.7602 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9543, allocations: 0.5625 kB / 0.7602 GB, free: 9.309 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.005547/0.9599, allocations: 1.185 MB / 0.7614 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.9599, allocations: 11.64 kB / 0.7614 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.9613, allocations: 85.77 kB / 0.7615 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.9616, allocations: 232.1 kB / 0.7617 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.9616, allocations: 9.125 kB / 0.7617 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.9616, allocations: 17.03 kB / 0.7617 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.9627, allocations: 460.8 kB / 0.7621 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.9627, allocations: 0 / 0.7621 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.9628, allocations: 7.156 kB / 0.7621 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.9628, allocations: 4.312 kB / 0.7622 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.9639, allocations: 0.6001 MB / 0.7627 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.9649, allocations: 0.8866 MB / 0.7636 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008724/0.9658, allocations: 251.2 kB / 0.7638 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.966, allocations: 73.64 kB / 0.7639 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08499/1.051, allocations: 35.42 MB / 0.7985 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.051, allocations: 39.28 kB / 0.7985 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/1.051, allocations: 1.203 kB / 0.7985 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.00172/1.053, allocations: 420.8 kB / 0.7989 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.053, allocations: 54.97 kB / 0.799 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/1.053, allocations: 140.4 kB / 0.7991 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/1.053, allocations: 32.73 kB / 0.7992 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/1.053, allocations: 106.2 kB / 0.7993 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/1.053, allocations: 86.69 kB / 0.7993 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/1.053, allocations: 73.58 kB / 0.7994 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.053, allocations: 334.2 kB / 0.7997 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/1.054, allocations: 87.38 kB / 0.7998 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.054, allocations: 129 kB / 0.7999 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/1.054, allocations: 228 kB / 0.8002 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.054, allocations: 0 / 0.8002 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007278/1.055, allocations: 295.5 kB / 0.8004 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.055, allocations: 9.406 kB / 0.8005 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.055, allocations: 0 / 0.8005 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/1.055, allocations: 3.5 kB / 0.8005 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/1.055, allocations: 81 kB / 0.8005 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.055, allocations: 6.688 kB / 0.8005 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/1.055, allocations: 28.78 kB / 0.8006 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/1.056, allocations: 27.61 kB / 0.8006 GB, free: 5.531 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.0001538/1.056, allocations: 127 kB / 0.8007 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.056, allocations: 14.81 kB / 0.8007 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/1.058, allocations: 2.344 MB / 0.803 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.058, allocations: 12.83 kB / 0.803 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.058, allocations: 0 / 0.803 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.059, allocations: 5.766 kB / 0.803 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/1.062, allocations: 3.434 MB / 0.8064 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/1.062, allocations: 0 / 0.8064 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.062, allocations: 55.59 kB / 0.8064 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/1.062, allocations: 0 / 0.8064 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/1.062, allocations: 14.02 kB / 0.8065 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.062, allocations: 6.938 kB / 0.8065 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.062, allocations: 0 / 0.8065 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/1.063, allocations: 0.5502 MB / 0.807 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/1.063, allocations: 131.3 kB / 0.8071 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/1.063, allocations: 9.141 kB / 0.8071 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.063, allocations: 20.81 kB / 0.8072 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/1.063, allocations: 14.89 kB / 0.8072 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/1.063, allocations: 13.86 kB / 0.8072 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.085e-05/1.063, allocations: 108.5 kB / 0.8073 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.12e-07/1.063, allocations: 0 / 0.8073 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006737/1.07, allocations: 1.634 MB / 0.8089 GB, free: 4.152 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.01097/1.081, allocations: 1.889 MB / 0.8107 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007079/1.082, allocations: 318.2 kB / 0.811 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.082, allocations: 3.156 kB / 0.811 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/1.082, allocations: 244.5 kB / 0.8113 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/1.083, allocations: 70.78 kB / 0.8113 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/1.084, allocations: 0.6167 MB / 0.8119 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/1.084, allocations: 0.7661 MB / 0.8127 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004587/1.084, allocations: 401.8 kB / 0.8131 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/1.085, allocations: 50.41 kB / 0.8131 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/1.085, allocations: 0 / 0.8131 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of Templates: time 0.07369/1.158, allocations: 57.01 MB / 0.8688 GB, free: 9.168 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)