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.001542/0.001542, allocations: 107.2 kB / 17.03 MB, free: 5.656 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.00179/0.00179, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6934/0.6934, allocations: 115.1 MB / 406.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3109, allocations: 76.14 MB / 0.5575 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.136/0.4469, allocations: 135.4 MB / 0.6897 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.4471, allocations: 55.88 kB / 0.6898 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.4472, allocations: 0 / 0.6898 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4473, allocations: 3.984 kB / 0.6898 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.4474, allocations: 11.92 kB / 0.6898 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.4482, allocations: 243 kB / 0.69 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.306e-05/0.4483, allocations: 31.86 kB / 0.6901 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.4484, allocations: 3.984 kB / 0.6901 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.4484, allocations: 15.98 kB / 0.6901 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.096e-05/0.4485, allocations: 11.83 kB / 0.6901 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.4485, allocations: 0 / 0.6901 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000435/0.4489, allocations: 239.4 kB / 0.6903 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.449, allocations: 11.98 kB / 0.6904 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.449, allocations: 15.92 kB / 0.6904 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.4493, allocations: 185.4 kB / 0.6905 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4494, allocations: 0 / 0.6905 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4494, allocations: 0 / 0.6905 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.4494, allocations: 0 / 0.6905 GB, free: 11.9 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.0003921/0.4498, allocations: 359.4 kB / 0.6909 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.4498, allocations: 8.031 kB / 0.6909 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.4499, allocations: 4.938 kB / 0.6909 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.45, allocations: 164.3 kB / 0.6911 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.45, allocations: 38.19 kB / 0.6911 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4501, allocations: 11.92 kB / 0.6911 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4502, allocations: 41.69 kB / 0.6911 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4502, allocations: 0 / 0.6911 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4502, allocations: 0 / 0.6911 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4502, allocations: 3.938 kB / 0.6911 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.009e-05/0.4503, allocations: 19.98 kB / 0.6912 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006799/0.451, allocations: 0.595 MB / 0.6917 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.492e-05/0.451, allocations: 14.58 kB / 0.6918 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.451, allocations: 8.922 kB / 0.6918 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.4512, allocations: 332.4 kB / 0.6921 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4512, allocations: 38.5 kB / 0.6921 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.474e-06/0.4513, allocations: 3.984 kB / 0.6921 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.4514, allocations: 41.69 kB / 0.6922 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4514, allocations: 51.41 kB / 0.6922 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.4515, allocations: 101.9 kB / 0.6923 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4515, allocations: 25.7 kB / 0.6923 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.4516, allocations: 88.03 kB / 0.6924 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.4516, allocations: 3.938 kB / 0.6924 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.4516, allocations: 21.62 kB / 0.6924 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4517, allocations: 318.8 kB / 0.6927 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/0.4517, allocations: 4.125 kB / 0.6928 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.4518, allocations: 25.64 kB / 0.6928 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.4518, allocations: 17.72 kB / 0.6928 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4518, allocations: 3.938 kB / 0.6928 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.034e-05/0.4519, allocations: 49.62 kB / 0.6928 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4519, allocations: 4 kB / 0.6928 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4519, allocations: 8.062 kB / 0.6929 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4519, allocations: 0 / 0.6929 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.452, allocations: 4 kB / 0.6929 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.452, allocations: 0 / 0.6929 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.452, allocations: 0 / 0.6929 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.452, allocations: 11.92 kB / 0.6929 GB, free: 9.125 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 6.891e-05/0.4521, allocations: 109.8 kB / 0.693 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.4521, allocations: 4 kB / 0.693 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.606e-05/0.4522, allocations: 120.9 kB / 0.6931 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-05/0.4523, allocations: 180.2 kB / 0.6933 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-05/0.4524, allocations: 184.2 kB / 0.6934 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-05/0.4524, allocations: 180.2 kB / 0.6936 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.4527, allocations: 409.2 kB / 0.694 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.4527, allocations: 108.9 kB / 0.6941 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.4527, allocations: 105 kB / 0.6942 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.767e-05/0.4528, allocations: 180.2 kB / 0.6944 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.4529, allocations: 180.2 kB / 0.6946 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-05/0.4529, allocations: 184.3 kB / 0.6947 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.277e-05/0.453, allocations: 184.2 kB / 0.6949 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.4531, allocations: 315.6 kB / 0.6952 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.4532, allocations: 182.1 kB / 0.6954 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.4533, allocations: 176.5 kB / 0.6955 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4534, allocations: 112.9 kB / 0.6957 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.4535, allocations: 188.3 kB / 0.6958 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4535, allocations: 108.9 kB / 0.6959 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.4535, allocations: 83.22 kB / 0.696 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4535, allocations: 0 / 0.696 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002913/0.4538, allocations: 59.92 kB / 0.6961 GB, free: 5.621 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.0002754/0.4541, allocations: 257 kB / 0.6963 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.225e-05/0.4542, allocations: 8 kB / 0.6963 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4542, allocations: 0 / 0.6963 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.4542, allocations: 0 / 0.6963 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4546, allocations: 467.8 kB / 0.6968 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.4548, allocations: 181.9 kB / 0.6969 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.455, allocations: 0.6768 MB / 0.6976 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.4551, allocations: 4 kB / 0.6976 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.4551, allocations: 15.44 kB / 0.6976 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.4551, allocations: 0 / 0.6976 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of Templates: time 0.003429/0.4585, allocations: 1.29 MB / 0.6989 GB, free: 2.684 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)