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.001242/0.001242, allocations: 111.7 kB / 16.41 MB, free: 6.484 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.001263/0.001263, allocations: 187 kB / 17.34 MB, free: 5.762 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7812/0.7812, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 62.5 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1406, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.526/0.6666, allocations: 136.1 MB / 0.7933 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.6897, allocations: 22.33 MB / 0.8151 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.69, allocations: 1.375 kB / 0.8151 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.6902, allocations: 47.83 kB / 0.8151 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.6906, allocations: 90.03 kB / 0.8152 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01975/0.7103, allocations: 6.683 MB / 0.8218 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004424/0.7108, allocations: 248.2 kB / 0.822 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.7108, allocations: 10.41 kB / 0.822 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.7112, allocations: 140.9 kB / 0.8221 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.7115, allocations: 98.5 kB / 0.8222 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.7115, allocations: 10.62 kB / 0.8222 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02246/0.734, allocations: 10.97 MB / 0.8329 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.7341, allocations: 33.28 kB / 0.833 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.7343, allocations: 85.17 kB / 0.8331 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.7503, allocations: 6.149 MB / 0.8391 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.7503, allocations: 0 / 0.8391 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7503, allocations: 0 / 0.8391 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.7503, allocations: 4 kB / 0.8391 GB, free: 12.86 MB / 0.6075 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.003737/0.7541, allocations: 1.194 MB / 0.8402 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7541, allocations: 9.594 kB / 0.8402 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.7555, allocations: 84.59 kB / 0.8403 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.7559, allocations: 227.8 kB / 0.8405 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.7559, allocations: 13.31 kB / 0.8406 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.756, allocations: 17.91 kB / 0.8406 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.7572, allocations: 456.5 kB / 0.841 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7572, allocations: 0 / 0.841 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.7573, allocations: 8 kB / 0.841 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7573, allocations: 4 kB / 0.841 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.7585, allocations: 0.597 MB / 0.8416 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.7596, allocations: 0.8872 MB / 0.8425 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.7605, allocations: 253.2 kB / 0.8427 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.7606, allocations: 72.83 kB / 0.8428 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09419/0.8548, allocations: 35.42 MB / 0.8774 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.8549, allocations: 34.56 kB / 0.8774 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.8549, allocations: 0 / 0.8774 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001832/0.8567, allocations: 425.2 kB / 0.8778 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8568, allocations: 55.41 kB / 0.8779 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.8569, allocations: 139.5 kB / 0.878 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.857, allocations: 37.64 kB / 0.878 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.8571, allocations: 108.4 kB / 0.8781 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.8571, allocations: 85.02 kB / 0.8782 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.8573, allocations: 81.66 kB / 0.8783 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8574, allocations: 326.8 kB / 0.8786 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.8576, allocations: 79.95 kB / 0.8787 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.8578, allocations: 129.6 kB / 0.8788 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.8582, allocations: 221 kB / 0.879 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.8582, allocations: 0 / 0.879 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006996/0.8589, allocations: 306 kB / 0.8793 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.859, allocations: 11.98 kB / 0.8793 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.859, allocations: 0 / 0.8793 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.859, allocations: 7.938 kB / 0.8793 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.8593, allocations: 75.94 kB / 0.8794 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.8593, allocations: 7.938 kB / 0.8794 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.8595, allocations: 15.84 kB / 0.8794 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.8596, allocations: 23.92 kB / 0.8794 GB, free: 0.5898 MB / 0.6387 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.0001459/0.8597, allocations: 130 kB / 0.8796 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.8599, allocations: 27.73 kB / 0.8796 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.8623, allocations: 2.329 MB / 0.8819 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.8624, allocations: 11.97 kB / 0.8819 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.8624, allocations: 4 kB / 0.8819 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8624, allocations: 0 / 0.8819 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.8657, allocations: 3.433 MB / 0.8852 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8657, allocations: 0 / 0.8852 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.866, allocations: 55.95 kB / 0.8853 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.866, allocations: 7.875 kB / 0.8853 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.866, allocations: 19.86 kB / 0.8853 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.8661, allocations: 0 / 0.8853 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8661, allocations: 0 / 0.8853 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.8668, allocations: 0.5393 MB / 0.8858 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.867, allocations: 144.5 kB / 0.886 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.8671, allocations: 8.562 kB / 0.886 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.8673, allocations: 19.98 kB / 0.886 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.8673, allocations: 11.98 kB / 0.886 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.8674, allocations: 15.98 kB / 0.886 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.8674, allocations: 105.1 kB / 0.8861 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8674, allocations: 0 / 0.8861 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004738/0.8722, allocations: 1.628 MB / 0.8877 GB, free: 7.949 MB / 0.6544 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.008464/0.8807, allocations: 1.888 MB / 0.8896 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.8814, allocations: 324.6 kB / 0.8899 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8814, allocations: 0 / 0.8899 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.8818, allocations: 244.8 kB / 0.8901 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/0.8824, allocations: 72.92 kB / 0.8902 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8835, allocations: 0.6626 MB / 0.8908 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.8838, allocations: 0.7699 MB / 0.8916 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.884, allocations: 51.41 kB / 0.8916 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.884, allocations: 0 / 0.8916 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of Templates: time 0.04633/0.9303, allocations: 31.38 MB / 0.9223 GB, free: 4.617 MB / 0.6856 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)