Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009526/0.009526, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.3 MB / 423.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.000482, allocations: 11.98 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4664, allocations: 81.57 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1537/0.6202, allocations: 131.6 MB / 0.7122 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.6204, allocations: 47.88 kB / 0.7122 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.6204, allocations: 4 kB / 0.7122 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.6205, allocations: 0 / 0.7122 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.9e-05/0.6206, allocations: 19.91 kB / 0.7122 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008868/0.6215, allocations: 227.1 kB / 0.7125 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.6216, allocations: 55.89 kB / 0.7125 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.6217, allocations: 0 / 0.7125 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.6217, allocations: 15.92 kB / 0.7125 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.6218, allocations: 15.92 kB / 0.7125 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.6218, allocations: 0 / 0.7125 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.6223, allocations: 247.3 kB / 0.7128 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.6223, allocations: 11.98 kB / 0.7128 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.6224, allocations: 37.62 kB / 0.7128 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.6227, allocations: 189.6 kB / 0.713 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6227, allocations: 4 kB / 0.713 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6227, allocations: 0 / 0.713 GB, free: 11.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6227, allocations: 0 / 0.713 GB, free: 11.47 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003911/0.6231, allocations: 363.4 kB / 0.7134 GB, free: 11.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6232, allocations: 8.031 kB / 0.7134 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.6232, allocations: 0.9375 kB / 0.7134 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.6233, allocations: 164.4 kB / 0.7135 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.6234, allocations: 26.27 kB / 0.7135 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.6234, allocations: 7.938 kB / 0.7135 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.6236, allocations: 53.66 kB / 0.7136 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6236, allocations: 0 / 0.7136 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.6236, allocations: 3.938 kB / 0.7136 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6236, allocations: 0 / 0.7136 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.6237, allocations: 19.92 kB / 0.7136 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007228/0.6244, allocations: 0.595 MB / 0.7142 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.6245, allocations: 26.58 kB / 0.7142 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.6245, allocations: 4.859 kB / 0.7142 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/0.6247, allocations: 336.5 kB / 0.7146 GB, free: 9.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6247, allocations: 30.56 kB / 0.7146 GB, free: 9.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.715e-06/0.6247, allocations: 0 / 0.7146 GB, free: 9.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001482/0.6249, allocations: 45.72 kB / 0.7146 GB, free: 9.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.625, allocations: 55.44 kB / 0.7147 GB, free: 9.418 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.625, allocations: 101.8 kB / 0.7148 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.6251, allocations: 25.7 kB / 0.7148 GB, free: 9.277 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.6251, allocations: 92.12 kB / 0.7149 GB, free: 9.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.6251, allocations: 7.844 kB / 0.7149 GB, free: 9.176 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.6252, allocations: 9.719 kB / 0.7149 GB, free: 9.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6253, allocations: 314.8 kB / 0.7152 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.6253, allocations: 8 kB / 0.7152 GB, free: 8.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.6253, allocations: 21.7 kB / 0.7152 GB, free: 8.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.6254, allocations: 29.59 kB / 0.7153 GB, free: 8.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6254, allocations: 0 / 0.7153 GB, free: 8.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.398e-05/0.6255, allocations: 49.62 kB / 0.7153 GB, free: 8.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6255, allocations: 4 kB / 0.7153 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6255, allocations: 0 / 0.7153 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.6255, allocations: 8.062 kB / 0.7153 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.6256, allocations: 4 kB / 0.7153 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6256, allocations: 0 / 0.7153 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.6256, allocations: 4 kB / 0.7153 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.6256, allocations: 7.938 kB / 0.7153 GB, free: 8.691 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.797e-05/0.6257, allocations: 111.4 kB / 0.7154 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.6257, allocations: 4 kB / 0.7154 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6259, allocations: 124.8 kB / 0.7156 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.834e-05/0.6259, allocations: 180.3 kB / 0.7157 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001193/0.6261, allocations: 180.2 kB / 0.7159 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/0.6262, allocations: 180.2 kB / 0.7161 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.6264, allocations: 409.2 kB / 0.7165 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.829e-05/0.6264, allocations: 104.9 kB / 0.7166 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.6265, allocations: 108.9 kB / 0.7167 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.636e-05/0.6265, allocations: 180.3 kB / 0.7168 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.6266, allocations: 180.2 kB / 0.717 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.139e-05/0.6267, allocations: 180.2 kB / 0.7172 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.879e-05/0.6268, allocations: 184.2 kB / 0.7174 GB, free: 6.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.6269, allocations: 311.7 kB / 0.7177 GB, free: 6.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.763e-05/0.627, allocations: 190.1 kB / 0.7178 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.6271, allocations: 176.3 kB / 0.718 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.6272, allocations: 112.9 kB / 0.7181 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.6273, allocations: 180.3 kB / 0.7183 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.6273, allocations: 108.9 kB / 0.7184 GB, free: 5.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.6274, allocations: 87.22 kB / 0.7185 GB, free: 5.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6274, allocations: 0 / 0.7185 GB, free: 5.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003306/0.6277, allocations: 59.92 kB / 0.7185 GB, free: 5.195 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003224/0.6281, allocations: 253.7 kB / 0.7188 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.6281, allocations: 8 kB / 0.7188 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6282, allocations: 0 / 0.7188 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.6282, allocations: 0 / 0.7188 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.6286, allocations: 0.5369 MB / 0.7193 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.6289, allocations: 183.9 kB / 0.7195 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.6292, allocations: 0.6692 MB / 0.7201 GB, free: 3.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.6292, allocations: 12 kB / 0.7202 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.6292, allocations: 11.42 kB / 0.7202 GB, free: 3.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6292, allocations: 0 / 0.7202 GB, free: 3.473 MB / 0.545 GB Notification: Performance of Templates: time 0.003981/0.6332, allocations: 1.273 MB / 0.7214 GB, free: 2.207 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)