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.001593/0.001593, allocations: 106 kB / 16.27 MB, free: 6.41 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.001731/0.001731, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8094/0.8094, allocations: 132.2 MB / 423.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 71.88 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 80.17 MB / 0.5807 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1409/0.517, allocations: 136.1 MB / 0.7137 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02638/0.5434, allocations: 22.33 MB / 0.7355 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.5437, allocations: 4 kB / 0.7355 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.544, allocations: 43.67 kB / 0.7355 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.5444, allocations: 99.41 kB / 0.7356 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.5614, allocations: 6.683 MB / 0.7421 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.5618, allocations: 251.9 kB / 0.7424 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.5619, allocations: 17.53 kB / 0.7424 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/0.5623, allocations: 135.5 kB / 0.7425 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.5624, allocations: 91.59 kB / 0.7426 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.5625, allocations: 8 kB / 0.7426 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3236/0.886, allocations: 10.67 MB / 0.753 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.8862, allocations: 32.73 kB / 0.7531 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.8863, allocations: 83.14 kB / 0.7532 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01584/0.9022, allocations: 6.167 MB / 0.7592 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9022, allocations: 0.5 kB / 0.7592 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9022, allocations: 2.062 kB / 0.7592 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.9023, allocations: 0 / 0.7592 GB, free: 9.277 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.005579/0.9078, allocations: 1.193 MB / 0.7603 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.9079, allocations: 8.625 kB / 0.7604 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.9091, allocations: 83.83 kB / 0.7604 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.9094, allocations: 223.5 kB / 0.7606 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.9094, allocations: 17.44 kB / 0.7607 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.9094, allocations: 22.12 kB / 0.7607 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.9104, allocations: 448.4 kB / 0.7611 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.9105, allocations: 3.562 kB / 0.7611 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.9105, allocations: 11.86 kB / 0.7611 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9105, allocations: 4.719 kB / 0.7611 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.9116, allocations: 0.5979 MB / 0.7617 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009279/0.9125, allocations: 0.8818 MB / 0.7626 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.9134, allocations: 249.2 kB / 0.7628 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.9136, allocations: 78.23 kB / 0.7629 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08766/1.001, allocations: 35.05 MB / 0.7971 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/1.001, allocations: 40.16 kB / 0.7972 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/1.001, allocations: 0 / 0.7972 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001685/1.003, allocations: 413.2 kB / 0.7976 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/1.003, allocations: 54.19 kB / 0.7976 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.003, allocations: 147.9 kB / 0.7977 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/1.003, allocations: 29.14 kB / 0.7978 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/1.003, allocations: 106.6 kB / 0.7979 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/1.003, allocations: 89.73 kB / 0.798 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.003, allocations: 75.75 kB / 0.798 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.004, allocations: 331 kB / 0.7983 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/1.004, allocations: 86.22 kB / 0.7984 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/1.004, allocations: 130.3 kB / 0.7986 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/1.004, allocations: 223.3 kB / 0.7988 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.004, allocations: 0 / 0.7988 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006354/1.005, allocations: 294.1 kB / 0.799 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.005, allocations: 11.91 kB / 0.7991 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.005, allocations: 0 / 0.7991 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.005, allocations: 5.188 kB / 0.7991 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/1.005, allocations: 81.61 kB / 0.7991 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/1.005, allocations: 3.094 kB / 0.7991 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/1.006, allocations: 26.78 kB / 0.7992 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/1.006, allocations: 23.11 kB / 0.7992 GB, free: 5.535 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.0001478/1.006, allocations: 133.5 kB / 0.7993 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.006, allocations: 13.59 kB / 0.7993 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/1.008, allocations: 2.35 MB / 0.8016 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/1.008, allocations: 11 kB / 0.8016 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.008, allocations: 2.688 kB / 0.8016 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.008, allocations: 3.75 kB / 0.8016 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/1.011, allocations: 3.43 MB / 0.805 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.011, allocations: 0 / 0.805 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.011, allocations: 53.33 kB / 0.805 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/1.011, allocations: 1.625 kB / 0.805 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/1.011, allocations: 7.25 kB / 0.8051 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/1.011, allocations: 13.53 kB / 0.8051 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.011, allocations: 0 / 0.8051 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/1.012, allocations: 0.5528 MB / 0.8056 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/1.012, allocations: 129.3 kB / 0.8057 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/1.012, allocations: 6.844 kB / 0.8057 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/1.012, allocations: 16.44 kB / 0.8058 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/1.012, allocations: 17.88 kB / 0.8058 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/1.012, allocations: 18.97 kB / 0.8058 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.421e-05/1.012, allocations: 109 kB / 0.8059 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.012, allocations: 2.938 kB / 0.8059 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006474/1.019, allocations: 1.623 MB / 0.8075 GB, free: 4.16 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.01121/1.03, allocations: 1.906 MB / 0.8093 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000814/1.031, allocations: 331.4 kB / 0.8097 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.031, allocations: 0 / 0.8097 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/1.031, allocations: 244.2 kB / 0.8099 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/1.032, allocations: 65.61 kB / 0.81 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/1.033, allocations: 0.6519 MB / 0.8106 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/1.033, allocations: 0.7648 MB / 0.8113 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/1.033, allocations: 55.94 kB / 0.8114 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/1.033, allocations: 0 / 0.8114 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of Templates: time 0.05908/1.092, allocations: 31.48 MB / 0.8421 GB, free: 3.727 MB / 0.6231 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)