Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001015/0.001015, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002397, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.00103/0.00103, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002398, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9298/0.9298, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08789/1.018, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.851/1.851, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5081/2.359, allocations: 127.1 MB / 0.7435 GB, free: 4.527 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 4 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.162e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1199/0.1199, allocations: 131 MB / 0.8728 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001451/0.1201, allocations: 59.67 kB / 0.8728 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.1201, allocations: 0 / 0.8728 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.596e-05/0.1202, allocations: 0 / 0.8728 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.1202, allocations: 11.97 kB / 0.8728 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005894/0.1208, allocations: 262.7 kB / 0.8731 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.1209, allocations: 31.86 kB / 0.8731 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.1209, allocations: 11.92 kB / 0.8731 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.121, allocations: 23.97 kB / 0.8731 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.121, allocations: 12 kB / 0.8732 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1211, allocations: 0 / 0.8732 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.1213, allocations: 187.4 kB / 0.8733 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.1214, allocations: 11.94 kB / 0.8733 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.1214, allocations: 8 kB / 0.8734 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.1216, allocations: 143.7 kB / 0.8735 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.1216, allocations: 4 kB / 0.8735 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1216, allocations: 3.938 kB / 0.8735 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1216, allocations: 0 / 0.8735 GB, free: 15.17 MB / 0.8542 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.0003231/0.122, allocations: 276.4 kB / 0.8738 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.122, allocations: 16.03 kB / 0.8738 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.122, allocations: 8.922 kB / 0.8738 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.1221, allocations: 117.7 kB / 0.8739 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.1221, allocations: 51.97 kB / 0.8739 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1221, allocations: 384 / 0.8739 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.1222, allocations: 83.23 kB / 0.874 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.1223, allocations: 0 / 0.874 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1223, allocations: 0 / 0.874 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.1223, allocations: 0 / 0.874 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.797e-05/0.1223, allocations: 7.984 kB / 0.874 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.1226, allocations: 213.8 kB / 0.8742 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.11e-05/0.1227, allocations: 26.61 kB / 0.8743 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-06/0.1227, allocations: 8.922 kB / 0.8743 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.1227, allocations: 27.92 kB / 0.8743 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1227, allocations: 38.56 kB / 0.8743 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1227, allocations: 0 / 0.8743 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 8.799e-05/0.1228, allocations: 41.61 kB / 0.8744 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1229, allocations: 51.41 kB / 0.8744 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.562e-05/0.1229, allocations: 106.8 kB / 0.8745 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1229, allocations: 33.69 kB / 0.8746 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.123, allocations: 84.09 kB / 0.8746 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.123, allocations: 4 kB / 0.8746 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.123, allocations: 13.72 kB / 0.8747 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.1231, allocations: 322.8 kB / 0.875 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-06/0.1231, allocations: 3.984 kB / 0.875 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.1231, allocations: 13.72 kB / 0.875 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.1231, allocations: 24.48 kB / 0.875 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1231, allocations: 4 kB / 0.875 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.039e-05/0.1231, allocations: 41.62 kB / 0.875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.1232, allocations: 4.625 kB / 0.875 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1232, allocations: 4 kB / 0.8751 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1232, allocations: 0 / 0.8751 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.1232, allocations: 11.92 kB / 0.8751 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1232, allocations: 0 / 0.8751 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.1232, allocations: 11.89 kB / 0.8751 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1232, allocations: 4 kB / 0.8751 GB, free: 13.36 MB / 0.8542 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.972e-05/0.1233, allocations: 116.7 kB / 0.8752 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.1233, allocations: 3.938 kB / 0.8752 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.1234, allocations: 117 kB / 0.8753 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.1234, allocations: 180.2 kB / 0.8755 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.661e-05/0.1235, allocations: 180.3 kB / 0.8756 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002893/0.1237, allocations: 180.3 kB / 0.8758 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.1239, allocations: 325.4 kB / 0.8761 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.1239, allocations: 101 kB / 0.8762 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.1239, allocations: 104.9 kB / 0.8763 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.1239, allocations: 105 kB / 0.8764 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-05/0.124, allocations: 188.2 kB / 0.8766 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.124, allocations: 188.2 kB / 0.8768 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.432e-05/0.124, allocations: 180.3 kB / 0.877 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-05/0.1241, allocations: 180.2 kB / 0.8771 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.641e-05/0.1242, allocations: 307.8 kB / 0.8774 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.1242, allocations: 184.2 kB / 0.8776 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.1243, allocations: 105 kB / 0.8777 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.1243, allocations: 184.2 kB / 0.8779 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.1243, allocations: 109 kB / 0.878 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.376e-05/0.1244, allocations: 12.84 kB / 0.878 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1244, allocations: 4 kB / 0.878 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001801/0.1245, allocations: 55.73 kB / 0.878 GB, free: 10.13 MB / 0.8542 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.0002248/0.1248, allocations: 239.3 kB / 0.8783 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.6e-05/0.1248, allocations: 13.11 kB / 0.8783 GB, free: 9.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1248, allocations: 4.188 kB / 0.8783 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.1248, allocations: 4 kB / 0.8783 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.125, allocations: 0.5049 MB / 0.8788 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.1257, allocations: 190.7 kB / 0.879 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.709e-05/0.1257, allocations: 55.34 kB / 0.879 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.1257, allocations: 8 kB / 0.879 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.1258, allocations: 63.34 kB / 0.8791 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.1258, allocations: 0 / 0.8791 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of Templates: time 0.002639/0.1284, allocations: 1.457 MB / 0.8805 GB, free: 7.543 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.876561468467116]