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.001016/0.001016, allocations: 92.22 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.001042/0.001042, allocations: 165 kB / 23.02 MB, free: 1.555 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.9521/0.9521, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.00165/0.00165, allocations: 230 kB / 260.2 MB, free: 12.84 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.7311/0.7311, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.823e-06/1.823e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.782e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3535/0.3536, allocations: 131.1 MB / 0.6831 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.3537, allocations: 53.75 kB / 0.6832 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.3537, allocations: 0 / 0.6832 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.3539, allocations: 4 kB / 0.6832 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.354, allocations: 14.33 kB / 0.6832 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007403/0.3547, allocations: 264.6 kB / 0.6835 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.3548, allocations: 36.91 kB / 0.6835 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.3548, allocations: 0 / 0.6835 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.3549, allocations: 23.66 kB / 0.6835 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.941e-05/0.3549, allocations: 13.52 kB / 0.6835 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.355, allocations: 0 / 0.6835 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.3553, allocations: 183.2 kB / 0.6837 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.072e-05/0.3553, allocations: 10.89 kB / 0.6837 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.3553, allocations: 6.172 kB / 0.6837 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3556, allocations: 178.5 kB / 0.6839 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3556, allocations: 0 / 0.6839 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3556, allocations: 0 / 0.6839 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3556, allocations: 4 kB / 0.6839 GB, free: 21.89 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.0003337/0.3559, allocations: 385 kB / 0.6843 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.356, allocations: 12.44 kB / 0.6843 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.356, allocations: 6.953 kB / 0.6843 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.3561, allocations: 112.1 kB / 0.6844 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.3562, allocations: 54.38 kB / 0.6845 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3562, allocations: 384 / 0.6845 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.3563, allocations: 77.38 kB / 0.6845 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3563, allocations: 3.938 kB / 0.6845 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3563, allocations: 4 kB / 0.6845 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.3563, allocations: 0 / 0.6845 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.3564, allocations: 13.98 kB / 0.6845 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004667/0.3568, allocations: 317.3 kB / 0.6848 GB, free: 20.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.223e-05/0.3569, allocations: 29.84 kB / 0.6849 GB, free: 20.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.326e-05/0.3569, allocations: 10.66 kB / 0.6849 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.3569, allocations: 33.03 kB / 0.6849 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.3569, allocations: 33.39 kB / 0.685 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3569, allocations: 0 / 0.685 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000124/0.3571, allocations: 43.34 kB / 0.685 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3571, allocations: 54.09 kB / 0.685 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.3571, allocations: 168.1 kB / 0.6852 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.3571, allocations: 25.7 kB / 0.6852 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.741e-05/0.3572, allocations: 130.8 kB / 0.6854 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.3572, allocations: 3.953 kB / 0.6854 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.3572, allocations: 24.66 kB / 0.6854 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.808e-05/0.3572, allocations: 496.1 kB / 0.6859 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.3573, allocations: 2.781 kB / 0.6859 GB, free: 19.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.727e-05/0.3573, allocations: 25.03 kB / 0.6859 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.3573, allocations: 26.81 kB / 0.6859 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3573, allocations: 0 / 0.6859 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.632e-05/0.3574, allocations: 51.97 kB / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3574, allocations: 5.812 kB / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3574, allocations: 0 / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3574, allocations: 0 / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.3574, allocations: 9.094 kB / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.3574, allocations: 3.984 kB / 0.686 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.3574, allocations: 7.562 kB / 0.686 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.3575, allocations: 3.984 kB / 0.686 GB, free: 19.7 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 4.059e-05/0.3575, allocations: 155.4 kB / 0.6861 GB, free: 19.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.3575, allocations: 10.94 kB / 0.6861 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.765e-05/0.3576, allocations: 158.3 kB / 0.6863 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.3576, allocations: 272 kB / 0.6866 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-05/0.3576, allocations: 267.2 kB / 0.6868 GB, free: 18.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.3577, allocations: 264.1 kB / 0.6871 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.809e-05/0.3577, allocations: 0.4937 MB / 0.6875 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.3578, allocations: 153.9 kB / 0.6877 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.3578, allocations: 152.8 kB / 0.6878 GB, free: 17.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.3578, allocations: 271.1 kB / 0.6881 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.3578, allocations: 264.1 kB / 0.6883 GB, free: 17.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-05/0.3578, allocations: 274.7 kB / 0.6886 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-05/0.3579, allocations: 264.1 kB / 0.6889 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.3579, allocations: 449.6 kB / 0.6893 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.358, allocations: 155.7 kB / 0.6894 GB, free: 16.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.358, allocations: 271.7 kB / 0.6897 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.3581, allocations: 152.4 kB / 0.6898 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.3581, allocations: 272 kB / 0.6901 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.3581, allocations: 148.9 kB / 0.6902 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.3581, allocations: 133.4 kB / 0.6904 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.3581, allocations: 0 / 0.6904 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002152/0.3583, allocations: 52.59 kB / 0.6904 GB, free: 15.04 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.0002297/0.3586, allocations: 301.9 kB / 0.6907 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.3587, allocations: 21.11 kB / 0.6907 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.3587, allocations: 0 / 0.6907 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.3587, allocations: 0 / 0.6907 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3589, allocations: 0.7098 MB / 0.6914 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.3593, allocations: 229.2 kB / 0.6916 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.381e-05/0.3593, allocations: 57.75 kB / 0.6917 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.3594, allocations: 7.25 kB / 0.6917 GB, free: 13.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.3594, allocations: 15.19 kB / 0.6917 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of SimCode: time 8.62e-07/0.3594, allocations: 0 / 0.6917 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.002962/0.3623, allocations: 1.237 MB / 0.6929 GB, free: 13.15 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.111634900793433]