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.0009919/0.0009919, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.001432/0.001432, allocations: 167.2 kB / 25.17 MB, free: 8.379 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.8887/0.8887, allocations: 177.2 MB / 205.6 MB, free: 4.34 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.917/1.917, allocations: 389.6 MB / 0.6364 GB, free: 13.3 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 1.493e-06/1.493e-06, allocations: 0 / 0.7755 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.56e-05, allocations: 6.25 kB / 0.7755 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004776/0.004802, allocations: 4.22 MB / 0.7796 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.004968, allocations: 155.5 kB / 0.7798 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.004995, allocations: 3.938 kB / 0.7798 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.00511, allocations: 0 / 0.7798 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.005193, allocations: 19.91 kB / 0.7798 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.005513, allocations: 83.62 kB / 0.7799 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.00561, allocations: 35.83 kB / 0.7799 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.00565, allocations: 12 kB / 0.7799 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.391e-05/0.005704, allocations: 19.92 kB / 0.78 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.005774, allocations: 15.91 kB / 0.78 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.005785, allocations: 0 / 0.78 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.005964, allocations: 51.83 kB / 0.78 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.006009, allocations: 7.969 kB / 0.78 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.00603, allocations: 15.94 kB / 0.7801 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.006153, allocations: 63.8 kB / 0.7801 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006156, allocations: 0 / 0.7801 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006158, allocations: 0 / 0.7801 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.006162, allocations: 0 / 0.7801 GB, free: 9.895 MB / 0.7448 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.0002683/0.00643, allocations: 236.9 kB / 0.7803 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.006461, allocations: 12.03 kB / 0.7803 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.006497, allocations: 4.922 kB / 0.7804 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.311e-05/0.00657, allocations: 109.8 kB / 0.7805 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.006621, allocations: 55.97 kB / 0.7805 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.00663, allocations: 384 / 0.7805 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006742, allocations: 83.42 kB / 0.7806 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.006749, allocations: 192 / 0.7806 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.006757, allocations: 3.938 kB / 0.7806 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.006777, allocations: 4 kB / 0.7806 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.006798, allocations: 11.92 kB / 0.7806 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.007054, allocations: 158 kB / 0.7808 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.007086, allocations: 22.56 kB / 0.7808 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.053e-05/0.007096, allocations: 8.859 kB / 0.7808 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.007135, allocations: 8.094 kB / 0.7808 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.007157, allocations: 42.44 kB / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.007158, allocations: 0 / 0.7808 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.01e-05/0.007248, allocations: 29.7 kB / 0.7809 GB, free: 9 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.007274, allocations: 55.53 kB / 0.7809 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.824e-05/0.007333, allocations: 110.7 kB / 0.781 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.007344, allocations: 25.7 kB / 0.7811 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.007381, allocations: 88.08 kB / 0.7811 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-06/0.007385, allocations: 3.953 kB / 0.7811 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.007411, allocations: 21.7 kB / 0.7812 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.007493, allocations: 314.8 kB / 0.7815 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.007498, allocations: 0 / 0.7815 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.619e-05/0.007514, allocations: 17.66 kB / 0.7815 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.007541, allocations: 28.53 kB / 0.7815 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007544, allocations: 0 / 0.7815 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.618e-05/0.00759, allocations: 37.64 kB / 0.7815 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.007605, allocations: 11.92 kB / 0.7816 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.007611, allocations: 4 kB / 0.7816 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.754e-06/0.007619, allocations: 0 / 0.7816 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.473e-05/0.007653, allocations: 4 kB / 0.7816 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.007656, allocations: 0 / 0.7816 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.007671, allocations: 7.938 kB / 0.7816 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007679, allocations: 0 / 0.7816 GB, free: 8.215 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 5.301e-05/0.007732, allocations: 120.7 kB / 0.7817 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.007747, allocations: 11.92 kB / 0.7817 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.007826, allocations: 116.9 kB / 0.7818 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/0.007869, allocations: 184.3 kB / 0.782 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/0.007909, allocations: 180.2 kB / 0.7822 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.542e-05/0.007954, allocations: 188.2 kB / 0.7823 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.008076, allocations: 313.5 kB / 0.7826 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.008102, allocations: 104.9 kB / 0.7827 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.008126, allocations: 101 kB / 0.7828 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-05/0.008171, allocations: 196.1 kB / 0.783 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.00821, allocations: 176.3 kB / 0.7832 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.123e-05/0.008251, allocations: 180.2 kB / 0.7834 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.912e-05/0.00829, allocations: 184.2 kB / 0.7835 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.008395, allocations: 311.7 kB / 0.7838 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.008424, allocations: 105 kB / 0.7839 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.008471, allocations: 180.3 kB / 0.7841 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.008556, allocations: 116.8 kB / 0.7842 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.008598, allocations: 176.3 kB / 0.7844 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.008622, allocations: 104.9 kB / 0.7845 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.534e-05/0.008637, allocations: 12.86 kB / 0.7845 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008638, allocations: 8 kB / 0.7845 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001411/0.008779, allocations: 15.94 kB / 0.7845 GB, free: 5.02 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.0001407/0.008919, allocations: 171.6 kB / 0.7847 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.958e-05/0.008969, allocations: 12.86 kB / 0.7847 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.008974, allocations: 0 / 0.7847 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.045e-06/0.008977, allocations: 7.938 kB / 0.7847 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.009195, allocations: 463.7 kB / 0.7851 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.009543, allocations: 220.7 kB / 0.7854 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.009583, allocations: 55.36 kB / 0.7854 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.009651, allocations: 63.34 kB / 0.7855 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of SimCode: time 8.61e-07/0.009651, allocations: 0 / 0.7855 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of Templates: time 0.001434/0.01109, allocations: 0.7383 MB / 0.7862 GB, free: 3.238 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 > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.537549199536443]