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.000833/0.0008332, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 185.7 kB / 16.92 MB, free: 6.934 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.505/1.505, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7316/0.7316, allocations: 115.5 MB / 407.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004688, allocations: 8 kB / 495.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1749, allocations: 77.53 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5023/0.6773, allocations: 131.5 MB / 0.6884 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/0.6774, allocations: 54.09 kB / 0.6884 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.6775, allocations: 7.938 kB / 0.6884 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.6776, allocations: 3.938 kB / 0.6884 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.6777, allocations: 15.92 kB / 0.6885 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.6787, allocations: 222.2 kB / 0.6887 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.6789, allocations: 59.81 kB / 0.6887 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.6789, allocations: 4 kB / 0.6887 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.6789, allocations: 11.98 kB / 0.6887 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.679, allocations: 15.92 kB / 0.6888 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.6791, allocations: 0 / 0.6888 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004857/0.6795, allocations: 247.3 kB / 0.689 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.6796, allocations: 3.984 kB / 0.689 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.6797, allocations: 37.69 kB / 0.689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003504/0.68, allocations: 193.6 kB / 0.6892 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.68, allocations: 4 kB / 0.6892 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.68, allocations: 0 / 0.6892 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.6801, allocations: 0 / 0.6892 GB, free: 1.895 MB / 0.4981 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.000409/0.6805, allocations: 343.5 kB / 0.6895 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6805, allocations: 13.62 kB / 0.6896 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.6806, allocations: 2.438 kB / 0.6896 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.6807, allocations: 172.3 kB / 0.6897 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.6808, allocations: 30.45 kB / 0.6898 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.6808, allocations: 7.938 kB / 0.6898 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.6809, allocations: 41.67 kB / 0.6898 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.681, allocations: 0 / 0.6898 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.681, allocations: 0 / 0.6898 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.681, allocations: 11.88 kB / 0.6898 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.6811, allocations: 15.98 kB / 0.6898 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.6819, allocations: 0.5989 MB / 0.6904 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.6819, allocations: 14.58 kB / 0.6904 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.682, allocations: 12.92 kB / 0.6904 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.6822, allocations: 336.4 kB / 0.6908 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.6823, allocations: 32.81 kB / 0.6908 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.6823, allocations: 7.938 kB / 0.6908 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001605/0.6824, allocations: 29.8 kB / 0.6908 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.6825, allocations: 59.38 kB / 0.6909 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.6826, allocations: 105.8 kB / 0.691 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.6826, allocations: 25.7 kB / 0.691 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.6827, allocations: 88.05 kB / 0.6911 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.432e-06/0.6827, allocations: 3.938 kB / 0.6911 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.6827, allocations: 13.72 kB / 0.6911 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6829, allocations: 318.8 kB / 0.6914 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.6829, allocations: 0 / 0.6914 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.6829, allocations: 21.72 kB / 0.6914 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.683, allocations: 25.64 kB / 0.6915 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.683, allocations: 0 / 0.6915 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.425e-05/0.6831, allocations: 49.55 kB / 0.6915 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6831, allocations: 10.19 kB / 0.6915 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6831, allocations: 3.984 kB / 0.6915 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.6831, allocations: 4.062 kB / 0.6915 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.572e-05/0.6832, allocations: 4 kB / 0.6915 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.6832, allocations: 4 kB / 0.6915 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.6832, allocations: 0 / 0.6915 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.6832, allocations: 4 kB / 0.6915 GB, free: 15.14 MB / 0.5137 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.579e-05/0.6833, allocations: 113.8 kB / 0.6916 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.6833, allocations: 0 / 0.6916 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.6835, allocations: 124.9 kB / 0.6918 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.515e-05/0.6836, allocations: 180.3 kB / 0.6919 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.524e-05/0.6836, allocations: 176.3 kB / 0.6921 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.739e-05/0.6837, allocations: 188.1 kB / 0.6923 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.684, allocations: 405.2 kB / 0.6927 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/0.684, allocations: 112.9 kB / 0.6928 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.6841, allocations: 105 kB / 0.6929 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-05/0.6842, allocations: 176.3 kB / 0.693 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.6842, allocations: 180.2 kB / 0.6932 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.6843, allocations: 181.1 kB / 0.6934 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.197e-05/0.6844, allocations: 180.2 kB / 0.6936 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.6846, allocations: 319.7 kB / 0.6939 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.6847, allocations: 182 kB / 0.694 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.6848, allocations: 188.2 kB / 0.6942 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.6849, allocations: 108.9 kB / 0.6943 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.685, allocations: 184.3 kB / 0.6945 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.6851, allocations: 112.8 kB / 0.6946 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.6851, allocations: 83.28 kB / 0.6947 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6851, allocations: 0 / 0.6947 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003194/0.6855, allocations: 59.86 kB / 0.6947 GB, free: 11.63 MB / 0.5137 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.0003316/0.6858, allocations: 254.4 kB / 0.695 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.6859, allocations: 8 kB / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6859, allocations: 0 / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6859, allocations: 0 / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004894/0.6864, allocations: 0.5303 MB / 0.6955 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.6867, allocations: 192.3 kB / 0.6957 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.6871, allocations: 0.6731 MB / 0.6963 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.6871, allocations: 8 kB / 0.6964 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.6871, allocations: 11.44 kB / 0.6964 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.6871, allocations: 0 / 0.6964 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of Templates: time 0.003935/0.6911, allocations: 1.265 MB / 0.6976 GB, free: 8.641 MB / 0.5137 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)