Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.00094/0.00094, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001517/0.001517, allocations: 161 kB / 24.16 MB, free: 332 kB / 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.9297/0.9297, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.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.961/1.961, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.075e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003654/0.003665, allocations: 4.194 MB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001914/0.003856, allocations: 161.5 kB / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.003871, allocations: 0 / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.474e-05/0.003936, allocations: 4 kB / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.003985, allocations: 15.86 kB / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.004183, allocations: 85.73 kB / 0.7795 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.004237, allocations: 35.84 kB / 0.7795 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.677e-05/0.004264, allocations: 6.438 kB / 0.7795 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.004304, allocations: 23.91 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.00435, allocations: 11.98 kB / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.563e-06/0.004357, allocations: 0 / 0.7795 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.004459, allocations: 55.75 kB / 0.7796 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.004484, allocations: 7.984 kB / 0.7796 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.198e-05/0.004496, allocations: 10.75 kB / 0.7796 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.87e-05/0.004585, allocations: 63.8 kB / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004586, allocations: 0 / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.61e-07/0.004587, allocations: 0 / 0.7797 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.873e-06/0.004589, allocations: 0 / 0.7797 GB, free: 0.8125 MB / 0.7292 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.0002077/0.004796, allocations: 233 kB / 0.7799 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.004823, allocations: 9.344 kB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.004844, allocations: 11.55 kB / 0.7799 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.301e-05/0.004907, allocations: 113.7 kB / 0.78 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.004949, allocations: 51.97 kB / 0.7801 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.004958, allocations: 384 / 0.7801 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/0.005043, allocations: 83.48 kB / 0.7802 GB, free: 256 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.00505, allocations: 192 / 0.7802 GB, free: 256 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.005057, allocations: 5.688 kB / 0.7802 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.005073, allocations: 0 / 0.7802 GB, free: 252 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.005091, allocations: 7.984 kB / 0.7802 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.005303, allocations: 162 kB / 0.7803 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.624e-05/0.00533, allocations: 22.52 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-06/0.005338, allocations: 6.016 kB / 0.7803 GB, free: 24 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.005366, allocations: 8.094 kB / 0.7804 GB, free: 16 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.005395, allocations: 39.16 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.005396, allocations: 0 / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 7.638e-05/0.005473, allocations: 34.77 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.005494, allocations: 51.41 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.005545, allocations: 111.3 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.005558, allocations: 30.48 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.005586, allocations: 88.03 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-06/0.00559, allocations: 3.953 kB / 0.7807 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.005609, allocations: 18.33 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.005672, allocations: 319.7 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-06/0.005676, allocations: 0 / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.157e-05/0.005688, allocations: 13.72 kB / 0.781 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.005839, allocations: 21.97 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.005842, allocations: 4 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.938e-05/0.005881, allocations: 47.94 kB / 0.7811 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.005889, allocations: 11.88 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.005892, allocations: 288 / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.005902, allocations: 4 kB / 0.7811 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.38e-05/0.005925, allocations: 4 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005928, allocations: 0.875 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.005938, allocations: 3.938 kB / 0.7811 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.005944, allocations: 5.031 kB / 0.7811 GB, free: 15.14 MB / 0.7448 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.808e-05/0.005982, allocations: 108.7 kB / 0.7812 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.005996, allocations: 16.84 kB / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.006059, allocations: 117 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-05/0.006095, allocations: 188.7 kB / 0.7815 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.261e-05/0.006127, allocations: 181.8 kB / 0.7817 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.49e-05/0.006162, allocations: 180.3 kB / 0.7819 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.00627, allocations: 321.4 kB / 0.7822 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.00629, allocations: 101 kB / 0.7823 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.184e-05/0.006312, allocations: 114.3 kB / 0.7824 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.21e-05/0.006344, allocations: 176.3 kB / 0.7826 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.006379, allocations: 184.3 kB / 0.7827 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.76e-05/0.006416, allocations: 184.1 kB / 0.7829 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-05/0.006449, allocations: 177.7 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.466e-05/0.006524, allocations: 307.8 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.006548, allocations: 101 kB / 0.7835 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.006591, allocations: 184.2 kB / 0.7837 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.006665, allocations: 117.6 kB / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.0067, allocations: 181.3 kB / 0.7839 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.006719, allocations: 101 kB / 0.784 GB, free: 12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.006732, allocations: 8.859 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006732, allocations: 1.031 kB / 0.784 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001206/0.006852, allocations: 23.92 kB / 0.7841 GB, free: 11.97 MB / 0.7448 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.0001074/0.00696, allocations: 172.9 kB / 0.7842 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.292e-05/0.007003, allocations: 12.8 kB / 0.7842 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.007006, allocations: 4 kB / 0.7842 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.007007, allocations: 5.312 kB / 0.7843 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.007448, allocations: 463.7 kB / 0.7847 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.007702, allocations: 196.1 kB / 0.7849 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.407e-05/0.007726, allocations: 51.36 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.007746, allocations: 5.344 kB / 0.7849 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.007798, allocations: 72.2 kB / 0.785 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.007798, allocations: 0 / 0.785 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.001829/0.009628, allocations: 0.7352 MB / 0.7857 GB, free: 10.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.958407936152071]