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.001082/0.001082, allocations: 113.5 kB / 17.04 MB, free: 6.082 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.00111/0.00111, allocations: 196 kB / 17.98 MB, free: 5.16 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7165/0.7165, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 494.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.141/0.4508, allocations: 135.4 MB / 0.6898 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.451, allocations: 55.86 kB / 0.6898 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.4511, allocations: 0 / 0.6898 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.4512, allocations: 7.922 kB / 0.6898 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.4513, allocations: 0 / 0.6898 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.4522, allocations: 244.3 kB / 0.6901 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.016e-05/0.4523, allocations: 35.84 kB / 0.6901 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.4524, allocations: 7.938 kB / 0.6901 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.4524, allocations: 15.98 kB / 0.6901 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.4525, allocations: 7.984 kB / 0.6901 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.4525, allocations: 11.94 kB / 0.6901 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004553/0.453, allocations: 231.5 kB / 0.6903 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.453, allocations: 7.969 kB / 0.6904 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.4531, allocations: 15.94 kB / 0.6904 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.4534, allocations: 189.3 kB / 0.6906 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4534, allocations: 0 / 0.6906 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4534, allocations: 0 / 0.6906 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4535, allocations: 0 / 0.6906 GB, free: 11.97 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.00041/0.4539, allocations: 355.5 kB / 0.6909 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.4539, allocations: 12.03 kB / 0.6909 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.454, allocations: 4.938 kB / 0.6909 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4541, allocations: 168.3 kB / 0.6911 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.4541, allocations: 30.27 kB / 0.6911 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4542, allocations: 7.922 kB / 0.6911 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.4543, allocations: 45.62 kB / 0.6911 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4543, allocations: 3.938 kB / 0.6911 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4543, allocations: 0 / 0.6911 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.4544, allocations: 4 kB / 0.6912 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.249e-05/0.4544, allocations: 15.98 kB / 0.6912 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.4552, allocations: 0.595 MB / 0.6918 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.4552, allocations: 18.58 kB / 0.6918 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.4552, allocations: 4.859 kB / 0.6918 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.4555, allocations: 336.5 kB / 0.6921 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4555, allocations: 42.44 kB / 0.6921 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.4555, allocations: 0 / 0.6921 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.4557, allocations: 37.69 kB / 0.6922 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4558, allocations: 55.41 kB / 0.6922 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.4559, allocations: 97.86 kB / 0.6923 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4559, allocations: 25.7 kB / 0.6923 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.4559, allocations: 88.03 kB / 0.6924 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.4559, allocations: 7.938 kB / 0.6924 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.456, allocations: 25.75 kB / 0.6925 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4561, allocations: 314.8 kB / 0.6928 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.4561, allocations: 4 kB / 0.6928 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.4562, allocations: 17.64 kB / 0.6928 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.4562, allocations: 25.72 kB / 0.6928 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4562, allocations: 4 kB / 0.6928 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.633e-05/0.4563, allocations: 49.62 kB / 0.6929 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4563, allocations: 9.406 kB / 0.6929 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4563, allocations: 0 / 0.6929 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4563, allocations: 0 / 0.6929 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.196e-05/0.4564, allocations: 4 kB / 0.6929 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4564, allocations: 4 kB / 0.6929 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.4564, allocations: 0 / 0.6929 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.4564, allocations: 7.922 kB / 0.6929 GB, free: 9.199 MB / 0.5294 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.938e-05/0.4565, allocations: 117.9 kB / 0.693 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.4566, allocations: 0 / 0.693 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.4567, allocations: 116.9 kB / 0.6931 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.4567, allocations: 180.2 kB / 0.6933 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.343e-05/0.4568, allocations: 180.2 kB / 0.6934 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-05/0.4569, allocations: 188.3 kB / 0.6936 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.4571, allocations: 401.2 kB / 0.694 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/0.4571, allocations: 112.9 kB / 0.6941 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.4572, allocations: 105 kB / 0.6942 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.349e-05/0.4573, allocations: 180.2 kB / 0.6944 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.4573, allocations: 180.2 kB / 0.6946 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.608e-05/0.4574, allocations: 188.3 kB / 0.6947 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-05/0.4575, allocations: 180.2 kB / 0.6949 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.4576, allocations: 311.9 kB / 0.6952 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.4577, allocations: 186 kB / 0.6954 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.691e-05/0.4578, allocations: 184.3 kB / 0.6956 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.4579, allocations: 109.2 kB / 0.6957 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.458, allocations: 188.2 kB / 0.6958 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.458, allocations: 109 kB / 0.6959 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.4581, allocations: 83.22 kB / 0.696 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4581, allocations: 0 / 0.696 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000292/0.4584, allocations: 63.92 kB / 0.6961 GB, free: 5.688 MB / 0.5294 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.0002937/0.4587, allocations: 250.6 kB / 0.6963 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.101e-05/0.4588, allocations: 12 kB / 0.6963 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4588, allocations: 128 / 0.6963 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/0.4588, allocations: 7.938 kB / 0.6963 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.4592, allocations: 455.7 kB / 0.6968 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.4594, allocations: 185.9 kB / 0.697 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4597, allocations: 0.6768 MB / 0.6976 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.4598, allocations: 9.75 kB / 0.6976 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.4598, allocations: 7.438 kB / 0.6976 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.4598, allocations: 0 / 0.6976 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of Templates: time 0.003554/0.4633, allocations: 1.288 MB / 0.6989 GB, free: 2.754 MB / 0.5294 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)