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.0009685/0.0009685, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009337/0.0009337, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.962/0.962, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.001835/0.001835, allocations: 244.9 kB / 260.2 MB, free: 12.8 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.7262/0.7262, allocations: 138.4 MB / 455.2 MB, free: 1.52 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 1.763e-06/1.763e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.024e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3423/0.3424, allocations: 131.1 MB / 0.6831 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.3425, allocations: 53.34 kB / 0.6832 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.3425, allocations: 4 kB / 0.6832 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3426, allocations: 11.86 kB / 0.6832 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.3427, allocations: 7.172 kB / 0.6832 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.3433, allocations: 263.6 kB / 0.6835 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.11e-05/0.3434, allocations: 37.05 kB / 0.6835 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.912e-05/0.3434, allocations: 0 / 0.6835 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.3435, allocations: 31.22 kB / 0.6835 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.3435, allocations: 10.05 kB / 0.6835 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.3435, allocations: 2.906 kB / 0.6835 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.3438, allocations: 180.8 kB / 0.6837 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.3438, allocations: 6.891 kB / 0.6837 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.772e-05/0.3438, allocations: 6.938 kB / 0.6837 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.3441, allocations: 178.2 kB / 0.6839 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3441, allocations: 0 / 0.6839 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3441, allocations: 4 kB / 0.6839 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3441, allocations: 0 / 0.6839 GB, free: 21.93 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.000278/0.3443, allocations: 389 kB / 0.6843 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3444, allocations: 11.44 kB / 0.6843 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3444, allocations: 5.078 kB / 0.6843 GB, free: 21.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.259e-05/0.3445, allocations: 105.3 kB / 0.6844 GB, free: 21.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.3445, allocations: 63.36 kB / 0.6845 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3445, allocations: 384 / 0.6845 GB, free: 21.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3446, allocations: 80.69 kB / 0.6845 GB, free: 21.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3446, allocations: 7.938 kB / 0.6845 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.3447, allocations: 3.984 kB / 0.6845 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3447, allocations: 3 kB / 0.6845 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.3447, allocations: 2.938 kB / 0.6845 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.3451, allocations: 317.5 kB / 0.6849 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.3451, allocations: 30.94 kB / 0.6849 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.22e-05/0.3451, allocations: 10.47 kB / 0.6849 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.3452, allocations: 29.19 kB / 0.6849 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3452, allocations: 33.39 kB / 0.685 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3452, allocations: 4 kB / 0.685 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000109/0.3453, allocations: 35.64 kB / 0.685 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.3453, allocations: 54.44 kB / 0.685 GB, free: 20.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.286e-05/0.3454, allocations: 171.3 kB / 0.6852 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.3454, allocations: 25.7 kB / 0.6852 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.3454, allocations: 130.8 kB / 0.6854 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-06/0.3454, allocations: 6.891 kB / 0.6854 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.3454, allocations: 26.27 kB / 0.6854 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.355e-05/0.3455, allocations: 495.1 kB / 0.6859 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-06/0.3455, allocations: 0 / 0.6859 GB, free: 19.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.3455, allocations: 30.3 kB / 0.6859 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.3455, allocations: 25.91 kB / 0.6859 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3455, allocations: 2.812 kB / 0.6859 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.37e-05/0.3455, allocations: 48.67 kB / 0.686 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.3456, allocations: 10.3 kB / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3456, allocations: 0 / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3456, allocations: 0 / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.3456, allocations: 5.219 kB / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3456, allocations: 7.219 kB / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.254e-05/0.3456, allocations: 3.312 kB / 0.686 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3456, allocations: 0 / 0.686 GB, free: 19.74 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.481e-05/0.3457, allocations: 159.2 kB / 0.6861 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.3457, allocations: 6.531 kB / 0.6861 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.3458, allocations: 167.3 kB / 0.6863 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.3458, allocations: 264.1 kB / 0.6866 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.3458, allocations: 270.5 kB / 0.6868 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.3458, allocations: 264.1 kB / 0.6871 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.49e-05/0.3459, allocations: 0.4977 MB / 0.6875 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.3459, allocations: 144.9 kB / 0.6877 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.3459, allocations: 151.5 kB / 0.6878 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-05/0.3459, allocations: 272 kB / 0.6881 GB, free: 17.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.346, allocations: 267 kB / 0.6883 GB, free: 17.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/0.346, allocations: 272 kB / 0.6886 GB, free: 16.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.346, allocations: 267.4 kB / 0.6889 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.704e-05/0.3461, allocations: 449.6 kB / 0.6893 GB, free: 16.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.3461, allocations: 149.1 kB / 0.6894 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.3461, allocations: 274.4 kB / 0.6897 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3462, allocations: 156 kB / 0.6898 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.3462, allocations: 276 kB / 0.6901 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3462, allocations: 147.8 kB / 0.6902 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.15e-05/0.3462, allocations: 129.9 kB / 0.6904 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3462, allocations: 0 / 0.6904 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000194/0.3464, allocations: 56.73 kB / 0.6904 GB, free: 15.07 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.0002047/0.3466, allocations: 309.8 kB / 0.6907 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.3467, allocations: 17.09 kB / 0.6907 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3467, allocations: 0 / 0.6907 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3467, allocations: 0 / 0.6907 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.3469, allocations: 0.7122 MB / 0.6914 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.3473, allocations: 229 kB / 0.6916 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.116e-05/0.3473, allocations: 58.89 kB / 0.6917 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.3473, allocations: 2.562 kB / 0.6917 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.444e-05/0.3473, allocations: 11.5 kB / 0.6917 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.3473, allocations: 0 / 0.6917 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of Templates: time 0.002866/0.3502, allocations: 1.493 MB / 0.6932 GB, free: 13.05 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: 3.996615181211382]