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.00159/0.00159, allocations: 107 kB / 16.52 MB, free: 6.27 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.001687/0.001687, allocations: 197 kB / 17.44 MB, free: 5.887 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.3 MB / 406.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 59.91 kB / 493.5 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3374, allocations: 76.18 MB / 0.5564 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1332/0.4707, allocations: 133.3 MB / 0.6865 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001728/0.4709, allocations: 55.84 kB / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.4709, allocations: 0 / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.4711, allocations: 0 / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.567e-05/0.4712, allocations: 15.92 kB / 0.6866 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.472, allocations: 219.9 kB / 0.6868 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.628e-05/0.4721, allocations: 59.81 kB / 0.6869 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.4721, allocations: 4 kB / 0.6869 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.4721, allocations: 19.92 kB / 0.6869 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.4722, allocations: 8 kB / 0.6869 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.4722, allocations: 3.984 kB / 0.6869 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.4727, allocations: 239.4 kB / 0.6871 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.4727, allocations: 11.97 kB / 0.6871 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.4728, allocations: 15.94 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.473, allocations: 125.8 kB / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.473, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.51e-07/0.4731, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.4731, allocations: 4 kB / 0.6873 GB, free: 14.2 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.0004331/0.4735, allocations: 355.5 kB / 0.6876 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4735, allocations: 11.97 kB / 0.6876 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4736, allocations: 0.9375 kB / 0.6876 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4737, allocations: 168.3 kB / 0.6878 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/0.4738, allocations: 30.2 kB / 0.6878 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.4738, allocations: 11.88 kB / 0.6878 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.474, allocations: 49.62 kB / 0.6879 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.474, allocations: 7.984 kB / 0.6879 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.474, allocations: 0 / 0.6879 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.474, allocations: 0 / 0.6879 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.342e-05/0.4741, allocations: 12 kB / 0.6879 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.4748, allocations: 0.6028 MB / 0.6885 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.4749, allocations: 18.58 kB / 0.6885 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.4749, allocations: 8.859 kB / 0.6885 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/0.4751, allocations: 340.4 kB / 0.6888 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.4752, allocations: 30.56 kB / 0.6889 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.4752, allocations: 0 / 0.6889 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.4753, allocations: 33.7 kB / 0.6889 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.4753, allocations: 51.41 kB / 0.6889 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.4754, allocations: 110 kB / 0.6891 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.4754, allocations: 25.7 kB / 0.6891 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.4755, allocations: 84.05 kB / 0.6892 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.4755, allocations: 7.938 kB / 0.6892 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.4755, allocations: 21.61 kB / 0.6892 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4757, allocations: 314.8 kB / 0.6895 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.4757, allocations: 11.94 kB / 0.6895 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-05/0.4757, allocations: 21.7 kB / 0.6895 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.4758, allocations: 25.72 kB / 0.6895 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4758, allocations: 0 / 0.6895 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.248e-05/0.4758, allocations: 45.62 kB / 0.6896 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4759, allocations: 4 kB / 0.6896 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4759, allocations: 0 / 0.6896 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4759, allocations: 4 kB / 0.6896 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-05/0.4759, allocations: 4 kB / 0.6896 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4759, allocations: 4.062 kB / 0.6896 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.476, allocations: 4 kB / 0.6896 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.476, allocations: 7.938 kB / 0.6896 GB, free: 11.42 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.45e-05/0.4761, allocations: 105.8 kB / 0.6897 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4761, allocations: 11.92 kB / 0.6897 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.4762, allocations: 112.9 kB / 0.6898 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-05/0.4763, allocations: 188.3 kB / 0.69 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.705e-05/0.4764, allocations: 184.1 kB / 0.6902 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.476e-05/0.4764, allocations: 180.2 kB / 0.6904 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4767, allocations: 413.4 kB / 0.6908 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.4767, allocations: 101 kB / 0.6909 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.4767, allocations: 101 kB / 0.6909 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.572e-05/0.4768, allocations: 188.2 kB / 0.6911 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.4769, allocations: 176.3 kB / 0.6913 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-05/0.4769, allocations: 180.2 kB / 0.6915 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.876e-05/0.477, allocations: 184.2 kB / 0.6916 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.4772, allocations: 315.6 kB / 0.6919 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4772, allocations: 186.1 kB / 0.6921 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.4773, allocations: 188.2 kB / 0.6923 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4775, allocations: 105 kB / 0.6924 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.298e-05/0.4775, allocations: 176.3 kB / 0.6926 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4776, allocations: 108.9 kB / 0.6927 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.499e-05/0.4776, allocations: 99.22 kB / 0.6928 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4777, allocations: 0 / 0.6928 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002979/0.478, allocations: 55.92 kB / 0.6928 GB, free: 7.914 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.0003213/0.4783, allocations: 248 kB / 0.6931 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.241e-05/0.4784, allocations: 7.984 kB / 0.6931 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4784, allocations: 0 / 0.6931 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.4784, allocations: 7.938 kB / 0.6931 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4788, allocations: 0.5185 MB / 0.6936 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.4791, allocations: 213.5 kB / 0.6938 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.4793, allocations: 0.677 MB / 0.6944 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.4793, allocations: 7.438 kB / 0.6944 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.4793, allocations: 0 / 0.6944 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of Templates: time 0.002628/0.482, allocations: 1.226 MB / 0.6956 GB, free: 4.953 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)