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.001505/0.001505, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009758/0.0009758, allocations: 169 kB / 23.27 MB, free: 1.223 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.9626/0.9626, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.001921/0.001921, allocations: 233.5 kB / 260.5 MB, free: 12.65 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.7183/0.7183, allocations: 138.4 MB / 455.5 MB, free: 29.95 MB / 410.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.663e-06/1.663e-06, allocations: 0 / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.516e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3531/0.3531, allocations: 128.7 MB / 0.6812 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000161/0.3532, allocations: 54.09 kB / 0.6812 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.3533, allocations: 0 / 0.6812 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.3534, allocations: 4.75 kB / 0.6812 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.3535, allocations: 16.59 kB / 0.6813 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.3543, allocations: 262.2 kB / 0.6815 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.3544, allocations: 35.12 kB / 0.6815 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.3544, allocations: 2.781 kB / 0.6816 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.875e-05/0.3545, allocations: 19.94 kB / 0.6816 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.465e-05/0.3546, allocations: 13.14 kB / 0.6816 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.3546, allocations: 1.969 kB / 0.6816 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.3549, allocations: 184.5 kB / 0.6818 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.355, allocations: 11.11 kB / 0.6818 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.355, allocations: 8.547 kB / 0.6818 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.3553, allocations: 176.8 kB / 0.6819 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3553, allocations: 5.141 kB / 0.682 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3553, allocations: 1.781 kB / 0.682 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.3553, allocations: 0 / 0.682 GB, free: 53.36 MB / 0.5573 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.0002793/0.3556, allocations: 388.5 kB / 0.6823 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3556, allocations: 12.78 kB / 0.6823 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.3556, allocations: 5.812 kB / 0.6823 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.315e-05/0.3557, allocations: 109.5 kB / 0.6824 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.3557, allocations: 58.36 kB / 0.6825 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.3557, allocations: 1.844 kB / 0.6825 GB, free: 52.78 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.3558, allocations: 79.08 kB / 0.6826 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3558, allocations: 6.281 kB / 0.6826 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.3558, allocations: 0 / 0.6826 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3559, allocations: 2.609 kB / 0.6826 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.3559, allocations: 9.562 kB / 0.6826 GB, free: 52.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.3562, allocations: 281.7 kB / 0.6829 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.455e-05/0.3563, allocations: 33.36 kB / 0.6829 GB, free: 52.42 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-06/0.3563, allocations: 7.688 kB / 0.6829 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.864e-05/0.3563, allocations: 35.64 kB / 0.6829 GB, free: 52.41 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3563, allocations: 35.78 kB / 0.683 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.3563, allocations: 0 / 0.683 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 9.829e-05/0.3564, allocations: 37.12 kB / 0.683 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.447e-05/0.3565, allocations: 54.25 kB / 0.6831 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.3565, allocations: 173.7 kB / 0.6832 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.3565, allocations: 25.7 kB / 0.6832 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.3565, allocations: 136.3 kB / 0.6834 GB, free: 51.93 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-06/0.3565, allocations: 8.734 kB / 0.6834 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.3566, allocations: 21.5 kB / 0.6834 GB, free: 51.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.08e-05/0.3566, allocations: 0.4885 MB / 0.6839 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.3566, allocations: 2.938 kB / 0.6839 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.3566, allocations: 20.2 kB / 0.6839 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.3567, allocations: 25.36 kB / 0.6839 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3567, allocations: 0.6094 kB / 0.6839 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.063e-05/0.3567, allocations: 55.88 kB / 0.684 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3567, allocations: 10.25 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3567, allocations: 0.5156 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3567, allocations: 1.906 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.861e-05/0.3568, allocations: 4.531 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.3568, allocations: 1.656 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.3568, allocations: 2.859 kB / 0.684 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3568, allocations: 0 / 0.684 GB, free: 51.31 MB / 0.5573 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.896e-05/0.3568, allocations: 155.1 kB / 0.6842 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.3568, allocations: 6.031 kB / 0.6842 GB, free: 51.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.86e-05/0.3569, allocations: 172.9 kB / 0.6843 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.3569, allocations: 268.5 kB / 0.6846 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/0.357, allocations: 266.8 kB / 0.6848 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.357, allocations: 270.6 kB / 0.6851 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.3571, allocations: 481.5 kB / 0.6856 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.3571, allocations: 151.4 kB / 0.6857 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.3571, allocations: 145.5 kB / 0.6858 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/0.3572, allocations: 266.4 kB / 0.6861 GB, free: 49.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3572, allocations: 274.5 kB / 0.6864 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-05/0.3572, allocations: 271.1 kB / 0.6866 GB, free: 48.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-05/0.3572, allocations: 269.7 kB / 0.6869 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.306e-05/0.3573, allocations: 455.6 kB / 0.6873 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.809e-05/0.3573, allocations: 152.2 kB / 0.6874 GB, free: 47.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.3573, allocations: 269.9 kB / 0.6877 GB, free: 47.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-05/0.3574, allocations: 155.4 kB / 0.6879 GB, free: 47.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.3574, allocations: 266.9 kB / 0.6881 GB, free: 47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3575, allocations: 150.1 kB / 0.6883 GB, free: 46.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.3575, allocations: 128.7 kB / 0.6884 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.3575, allocations: 0 / 0.6884 GB, free: 46.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002737/0.3578, allocations: 60.41 kB / 0.6884 GB, free: 46.72 MB / 0.5573 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.0002216/0.358, allocations: 297.4 kB / 0.6887 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.987e-05/0.358, allocations: 14.02 kB / 0.6887 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.358, allocations: 1.906 kB / 0.6887 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.358, allocations: 320 / 0.6887 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3583, allocations: 0.7142 MB / 0.6894 GB, free: 45.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.3586, allocations: 232.6 kB / 0.6896 GB, free: 45.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.275e-05/0.3586, allocations: 54.58 kB / 0.6897 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.3586, allocations: 4.141 kB / 0.6897 GB, free: 45.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.3587, allocations: 84.09 kB / 0.6898 GB, free: 45.42 MB / 0.5573 GB Notification: Performance of SimCode: time 3.91e-07/0.3587, allocations: 4 kB / 0.6898 GB, free: 45.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.003231/0.3619, allocations: 1.444 MB / 0.6912 GB, free: 45.27 MB / 0.5573 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.894898388069123]