Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.00153, allocations: 104 kB / 16.27 MB, free: 5.977 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.001792/0.001792, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8426/0.8426, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 59.91 kB / 0.4911 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4396, allocations: 77.92 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1605/0.6002, allocations: 135.4 MB / 0.6994 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.6005, allocations: 59.84 kB / 0.6994 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.6005, allocations: 0 / 0.6994 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.6007, allocations: 3.938 kB / 0.6994 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.6008, allocations: 19.91 kB / 0.6995 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.6018, allocations: 235 kB / 0.6997 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.909e-05/0.6018, allocations: 23.92 kB / 0.6997 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.6019, allocations: 4 kB / 0.6997 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.6019, allocations: 27.91 kB / 0.6997 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.602, allocations: 15.92 kB / 0.6998 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.602, allocations: 0 / 0.6998 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.6025, allocations: 235.5 kB / 0.7 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.6026, allocations: 7.984 kB / 0.7 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.6026, allocations: 15.92 kB / 0.7 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.603, allocations: 181.6 kB / 0.7002 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.603, allocations: 0 / 0.7002 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.603, allocations: 0 / 0.7002 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.603, allocations: 4 kB / 0.7002 GB, free: 2.207 MB / 0.5294 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.000407/0.6034, allocations: 367.3 kB / 0.7005 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.6035, allocations: 8.625 kB / 0.7005 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.6035, allocations: 0.9375 kB / 0.7005 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6036, allocations: 160.4 kB / 0.7007 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.6037, allocations: 38.2 kB / 0.7007 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.6037, allocations: 3.938 kB / 0.7007 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.6039, allocations: 45.67 kB / 0.7008 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6039, allocations: 4 kB / 0.7008 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.6039, allocations: 4 kB / 0.7008 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.6039, allocations: 3.984 kB / 0.7008 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.604, allocations: 8 kB / 0.7008 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.6048, allocations: 0.5989 MB / 0.7014 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.6049, allocations: 22.55 kB / 0.7014 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.6049, allocations: 4.859 kB / 0.7014 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.6051, allocations: 340.5 kB / 0.7017 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.6052, allocations: 34.56 kB / 0.7018 GB, free: 276 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.6052, allocations: 3.938 kB / 0.7018 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.6053, allocations: 33.7 kB / 0.7018 GB, free: 232 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.6054, allocations: 55.34 kB / 0.7018 GB, free: 164 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.6055, allocations: 101.8 kB / 0.7019 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.6055, allocations: 25.7 kB / 0.702 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.6056, allocations: 92.17 kB / 0.7021 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.669e-06/0.6056, allocations: 7.844 kB / 0.7021 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.6056, allocations: 21.7 kB / 0.7021 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6058, allocations: 314.8 kB / 0.7024 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.6058, allocations: 4 kB / 0.7024 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.6058, allocations: 17.72 kB / 0.7024 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.747e-05/0.6059, allocations: 21.7 kB / 0.7024 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6059, allocations: 0 / 0.7024 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.259e-05/0.606, allocations: 49.64 kB / 0.7025 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.606, allocations: 7.984 kB / 0.7025 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.606, allocations: 0 / 0.7025 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.606, allocations: 0 / 0.7025 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.748e-05/0.6061, allocations: 11.94 kB / 0.7025 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6061, allocations: 0 / 0.7025 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.6061, allocations: 0 / 0.7025 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.6061, allocations: 12 kB / 0.7025 GB, free: 15.43 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 8.358e-05/0.6062, allocations: 113.8 kB / 0.7026 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.6062, allocations: 0 / 0.7026 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.6064, allocations: 120.9 kB / 0.7027 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-05/0.6064, allocations: 176.3 kB / 0.7029 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-05/0.6065, allocations: 192.5 kB / 0.7031 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.579e-05/0.6066, allocations: 180.2 kB / 0.7033 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.6069, allocations: 405.1 kB / 0.7036 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.941e-05/0.6069, allocations: 109 kB / 0.7037 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.607, allocations: 108.9 kB / 0.7038 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-05/0.607, allocations: 176.3 kB / 0.704 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.6071, allocations: 184.3 kB / 0.7042 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.726e-05/0.6072, allocations: 184.2 kB / 0.7044 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-05/0.6073, allocations: 180.2 kB / 0.7045 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.6074, allocations: 307.7 kB / 0.7048 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-05/0.6075, allocations: 186.1 kB / 0.705 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.6076, allocations: 188.2 kB / 0.7052 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.6078, allocations: 109.2 kB / 0.7053 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.6079, allocations: 184.2 kB / 0.7055 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.6079, allocations: 105 kB / 0.7056 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.608, allocations: 87.2 kB / 0.7057 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.608, allocations: 4 kB / 0.7057 GB, free: 11.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003495/0.6083, allocations: 59.94 kB / 0.7057 GB, free: 11.93 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.0003223/0.6087, allocations: 242.4 kB / 0.7059 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.6087, allocations: 19.92 kB / 0.706 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.6088, allocations: 0 / 0.706 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.6088, allocations: 3.938 kB / 0.706 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.6092, allocations: 458 kB / 0.7064 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.6094, allocations: 194 kB / 0.7066 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.6097, allocations: 0.6729 MB / 0.7072 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.6097, allocations: 7.984 kB / 0.7073 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.6097, allocations: 7.438 kB / 0.7073 GB, free: 10.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.6097, allocations: 0 / 0.7073 GB, free: 10.27 MB / 0.545 GB Notification: Performance of Templates: time 0.003717/0.6134, allocations: 1.285 MB / 0.7085 GB, free: 8.992 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)