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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7537/0.7537, allocations: 130.5 MB / 143.8 MB, free: 13.61 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.3 MB / 396.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009037/0.0009038, allocations: 107.2 kB / 479 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.698e-05, allocations: 2.719 kB / 0.5551 GB, free: 86.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.168, allocations: 81.59 MB / 0.6347 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.443/1.611, allocations: 417.8 MB / 1.043 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.611, allocations: 72.05 kB / 1.043 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04884/1.66, allocations: 23.42 MB / 1.066 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.462e-06/1.66, allocations: 3.938 kB / 1.066 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.66, allocations: 0 / 1.066 GB, free: 166.1 MB / 0.6823 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.0003484/1.66, allocations: 354 kB / 1.066 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.66, allocations: 8.031 kB / 1.066 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/1.66, allocations: 12.23 kB / 1.066 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/1.661, allocations: 171 kB / 1.066 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-05/1.661, allocations: 25.7 kB / 1.066 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/1.661, allocations: 7.938 kB / 1.066 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.661, allocations: 40.12 kB / 1.066 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/1.661, allocations: 0 / 1.066 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.661, allocations: 0 / 1.066 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/1.661, allocations: 7.141 kB / 1.066 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/1.661, allocations: 11.8 kB / 1.066 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/1.662, allocations: 0.5954 MB / 1.067 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.435e-05/1.662, allocations: 29.53 kB / 1.067 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/1.662, allocations: 4.859 kB / 1.067 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/1.662, allocations: 0.4925 MB / 1.067 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/1.662, allocations: 42.52 kB / 1.067 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/1.662, allocations: 0 / 1.067 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/1.662, allocations: 29.7 kB / 1.067 GB, free: 164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/1.662, allocations: 51.41 kB / 1.067 GB, free: 164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/1.662, allocations: 99.55 kB / 1.068 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/1.662, allocations: 25.7 kB / 1.068 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/1.662, allocations: 91.36 kB / 1.068 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-06/1.662, allocations: 3.938 kB / 1.068 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/1.662, allocations: 4.031 kB / 1.068 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/1.662, allocations: 314.7 kB / 1.068 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/1.662, allocations: 7.5 kB / 1.068 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/1.662, allocations: 13.72 kB / 1.068 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.819e-05/1.662, allocations: 4 kB / 1.068 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.662, allocations: 0 / 1.068 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.252e-05/1.662, allocations: 60.17 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.662, allocations: 4 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.662, allocations: 3.938 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.662, allocations: 3.953 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/1.663, allocations: 7.797 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.663, allocations: 4 kB / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/1.663, allocations: 0 / 1.068 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.663, allocations: 0 / 1.068 GB, free: 163.3 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/1.663, allocations: 111.6 kB / 1.068 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/1.663, allocations: 4.062 kB / 1.068 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/1.663, allocations: 124.2 kB / 1.068 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/1.663, allocations: 180.2 kB / 1.068 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.663, allocations: 180.3 kB / 1.069 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/1.663, allocations: 188.2 kB / 1.069 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/1.663, allocations: 403.9 kB / 1.069 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.489e-05/1.663, allocations: 108.9 kB / 1.069 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/1.663, allocations: 104.9 kB / 1.069 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-05/1.663, allocations: 182.8 kB / 1.07 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.663, allocations: 180.2 kB / 1.07 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-05/1.663, allocations: 180.3 kB / 1.07 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.368e-05/1.663, allocations: 192.2 kB / 1.07 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/1.663, allocations: 306.8 kB / 1.07 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/1.663, allocations: 185 kB / 1.071 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/1.664, allocations: 180.3 kB / 1.071 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/1.664, allocations: 116.8 kB / 1.071 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/1.664, allocations: 176.3 kB / 1.071 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.664, allocations: 108.9 kB / 1.071 GB, free: 160 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.413e-05/1.664, allocations: 89.73 kB / 1.071 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.664, allocations: 0 / 1.071 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004095/1.664, allocations: 83.12 kB / 1.071 GB, free: 159.8 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008034/1.665, allocations: 0.6382 MB / 1.072 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/1.665, allocations: 8 kB / 1.072 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.665, allocations: 0 / 1.072 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/1.665, allocations: 0 / 1.072 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/1.665, allocations: 0.5264 MB / 1.072 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000166/1.666, allocations: 143.1 kB / 1.073 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/1.666, allocations: 0.6768 MB / 1.073 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.3e-05/1.666, allocations: 4 kB / 1.073 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/1.666, allocations: 7.438 kB / 1.073 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.666, allocations: 0 / 1.073 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.01066/1.676, allocations: 8.773 MB / 1.082 GB, free: 150.5 MB / 0.6823 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)