Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001666/0.001666, allocations: 232.8 kB / 260.5 MB, free: 12.87 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7497/0.7497, allocations: 138.4 MB / 455.4 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.813e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3468/0.3468, allocations: 130.9 MB / 0.6828 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.3469, allocations: 49.42 kB / 0.6829 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.347, allocations: 0 / 0.6829 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3471, allocations: 6.781 kB / 0.6829 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.704e-05/0.3472, allocations: 14.75 kB / 0.6829 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.3478, allocations: 247.7 kB / 0.6831 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.15e-05/0.3479, allocations: 28.39 kB / 0.6831 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.348, allocations: 11.41 kB / 0.6832 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.348, allocations: 24.09 kB / 0.6832 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.56e-05/0.3481, allocations: 12.77 kB / 0.6832 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3481, allocations: 0 / 0.6832 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.3484, allocations: 180.5 kB / 0.6834 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.3484, allocations: 6.812 kB / 0.6834 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3484, allocations: 9.531 kB / 0.6834 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3487, allocations: 178.7 kB / 0.6836 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3487, allocations: 2.938 kB / 0.6836 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3487, allocations: 0 / 0.6836 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3487, allocations: 0 / 0.6836 GB, free: 22.11 MB / 0.5105 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.0003112/0.349, allocations: 389.1 kB / 0.6839 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.349, allocations: 13.31 kB / 0.6839 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.3491, allocations: 4.609 kB / 0.6839 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.078e-05/0.3492, allocations: 108.4 kB / 0.684 GB, free: 21.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.3492, allocations: 51.97 kB / 0.6841 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.3492, allocations: 7.5 kB / 0.6841 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3494, allocations: 77.86 kB / 0.6842 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3494, allocations: 3.938 kB / 0.6842 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3494, allocations: 6.875 kB / 0.6842 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.3494, allocations: 0 / 0.6842 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.3494, allocations: 9.547 kB / 0.6842 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.3499, allocations: 310.8 kB / 0.6845 GB, free: 21.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.784e-05/0.3499, allocations: 33.62 kB / 0.6845 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.3499, allocations: 11.69 kB / 0.6845 GB, free: 21.06 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.35, allocations: 29.03 kB / 0.6846 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.35, allocations: 36.33 kB / 0.6846 GB, free: 21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.35, allocations: 0 / 0.6846 GB, free: 21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.3501, allocations: 35.64 kB / 0.6846 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.3501, allocations: 59.47 kB / 0.6847 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.3502, allocations: 167.2 kB / 0.6848 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.3502, allocations: 28.83 kB / 0.6849 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.3502, allocations: 134.8 kB / 0.685 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-06/0.3502, allocations: 3.953 kB / 0.685 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.3502, allocations: 25.17 kB / 0.685 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.554e-05/0.3503, allocations: 496.1 kB / 0.6855 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.3503, allocations: 2.656 kB / 0.6855 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.624e-05/0.3503, allocations: 18.44 kB / 0.6855 GB, free: 20 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.3503, allocations: 33.2 kB / 0.6856 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3503, allocations: 0 / 0.6856 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.872e-05/0.3504, allocations: 47.73 kB / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.3504, allocations: 6.188 kB / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3504, allocations: 3.984 kB / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3504, allocations: 0 / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.3505, allocations: 5.375 kB / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3505, allocations: 0 / 0.6856 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.3505, allocations: 7.984 kB / 0.6856 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.3505, allocations: 2.781 kB / 0.6856 GB, free: 19.92 MB / 0.5105 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 3.748e-05/0.3505, allocations: 163.3 kB / 0.6858 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.3505, allocations: 3.938 kB / 0.6858 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.159e-05/0.3506, allocations: 169.8 kB / 0.6859 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3506, allocations: 268 kB / 0.6862 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.3507, allocations: 266.9 kB / 0.6865 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.3507, allocations: 264.1 kB / 0.6867 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.759e-05/0.3508, allocations: 0.4919 MB / 0.6872 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.3508, allocations: 147.2 kB / 0.6873 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.3508, allocations: 152.8 kB / 0.6875 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/0.3508, allocations: 275.2 kB / 0.6877 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3508, allocations: 264.1 kB / 0.688 GB, free: 17.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/0.3509, allocations: 274 kB / 0.6883 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-05/0.3509, allocations: 268.1 kB / 0.6885 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.307e-05/0.3509, allocations: 449.6 kB / 0.6889 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.351, allocations: 151.9 kB / 0.6891 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.351, allocations: 268.3 kB / 0.6893 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.3511, allocations: 155.2 kB / 0.6895 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.3511, allocations: 279.4 kB / 0.6898 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3511, allocations: 148.8 kB / 0.6899 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.84e-05/0.3511, allocations: 124.8 kB / 0.69 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3511, allocations: 4 kB / 0.69 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002227/0.3514, allocations: 61.02 kB / 0.6901 GB, free: 15.25 MB / 0.5105 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.0002267/0.3516, allocations: 294 kB / 0.6904 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.572e-05/0.3516, allocations: 24.81 kB / 0.6904 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.3516, allocations: 0 / 0.6904 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.3516, allocations: 3.5 kB / 0.6904 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3519, allocations: 0.705 MB / 0.6911 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.3523, allocations: 233.1 kB / 0.6913 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.169e-05/0.3523, allocations: 53.89 kB / 0.6913 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3523, allocations: 10.47 kB / 0.6914 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.3523, allocations: 8.5 kB / 0.6914 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.3523, allocations: 0 / 0.6914 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.002982/0.3553, allocations: 1.37 MB / 0.6927 GB, free: 13.3 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.053661641897634]