Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001244/0.001244, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001147/0.001147, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9608/0.9608, allocations: 177.1 MB / 205.6 MB, free: 5.023 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.962/1.962, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7755 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.258e-05, allocations: 7.234 kB / 0.7755 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1295/0.1295, allocations: 143.6 MB / 0.9157 GB, free: 6.066 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.1297, allocations: 51.73 kB / 0.9158 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.1297, allocations: 0 / 0.9158 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.1298, allocations: 11.88 kB / 0.9158 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.1299, allocations: 7.984 kB / 0.9158 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.1306, allocations: 227 kB / 0.916 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 8.552e-05/0.1306, allocations: 39.84 kB / 0.9161 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1307, allocations: 0 / 0.9161 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.1307, allocations: 19.98 kB / 0.9161 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.1308, allocations: 15.91 kB / 0.9161 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1308, allocations: 4 kB / 0.9161 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.1311, allocations: 167.4 kB / 0.9163 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.1312, allocations: 7.938 kB / 0.9163 GB, free: 5.523 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1312, allocations: 15.98 kB / 0.9163 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1314, allocations: 115.6 kB / 0.9164 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1314, allocations: 0 / 0.9164 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1314, allocations: 0 / 0.9164 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1314, allocations: 0 / 0.9164 GB, free: 5.395 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002885/0.1317, allocations: 248.9 kB / 0.9166 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1317, allocations: 9.344 kB / 0.9166 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.132, allocations: 36.84 kB / 0.9167 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1321, allocations: 113.8 kB / 0.9168 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.1322, allocations: 51.97 kB / 0.9168 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1322, allocations: 12.06 kB / 0.9168 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.1323, allocations: 74.92 kB / 0.9169 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1323, allocations: 7.984 kB / 0.9169 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1323, allocations: 0 / 0.9169 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1323, allocations: 4 kB / 0.9169 GB, free: 4.773 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.025e-05/0.1324, allocations: 8 kB / 0.9169 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.1326, allocations: 158 kB / 0.9171 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.1326, allocations: 26.45 kB / 0.9171 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.1326, allocations: 12.92 kB / 0.9171 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.794e-05/0.1327, allocations: 19.97 kB / 0.9171 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1327, allocations: 30.56 kB / 0.9172 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.1327, allocations: 4 kB / 0.9172 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001562/0.1329, allocations: 41.69 kB / 0.9172 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1329, allocations: 51.41 kB / 0.9173 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.133, allocations: 110.6 kB / 0.9174 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.133, allocations: 29.7 kB / 0.9174 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.133, allocations: 92.02 kB / 0.9175 GB, free: 4.121 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.133, allocations: 7.953 kB / 0.9175 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.1331, allocations: 13.72 kB / 0.9175 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.1332, allocations: 314.8 kB / 0.9178 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1332, allocations: 8.125 kB / 0.9178 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.1332, allocations: 26.52 kB / 0.9178 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.1332, allocations: 37.31 kB / 0.9179 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1332, allocations: 3.938 kB / 0.9179 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.895e-05/0.1333, allocations: 45.64 kB / 0.9179 GB, free: 3.633 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1333, allocations: 7.984 kB / 0.9179 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1333, allocations: 0 / 0.9179 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.1333, allocations: 4.094 kB / 0.9179 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.1333, allocations: 8 kB / 0.9179 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.1333, allocations: 0 / 0.9179 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.1334, allocations: 7.953 kB / 0.918 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1334, allocations: 3.984 kB / 0.918 GB, free: 3.602 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.346e-05/0.1334, allocations: 116.6 kB / 0.9181 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.1334, allocations: 4 kB / 0.9181 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.1335, allocations: 7.297 kB / 0.9181 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1335, allocations: 0 / 0.9181 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1335, allocations: 0 / 0.9181 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1335, allocations: 8 kB / 0.9181 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1337, allocations: 275.7 kB / 0.9183 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1337, allocations: 0 / 0.9183 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.1337, allocations: 4 kB / 0.9184 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1337, allocations: 0 / 0.9184 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-06/0.1337, allocations: 0 / 0.9184 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.1337, allocations: 3.938 kB / 0.9184 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1337, allocations: 0 / 0.9184 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.762e-05/0.1337, allocations: 69.92 kB / 0.9184 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-06/0.1338, allocations: 4.094 kB / 0.9184 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1338, allocations: 4 kB / 0.9184 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.578e-05/0.1338, allocations: 3.984 kB / 0.9184 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.1338, allocations: 4.281 kB / 0.9184 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.1338, allocations: 4 kB / 0.9184 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.053e-05/0.1338, allocations: 8.844 kB / 0.9185 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1338, allocations: 4 kB / 0.9185 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001414/0.134, allocations: 4 kB / 0.9185 GB, free: 3.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001048/0.1341, allocations: 92.34 kB / 0.9185 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.185e-05/0.1341, allocations: 16.8 kB / 0.9186 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1341, allocations: 0 / 0.9186 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.1342, allocations: 20.73 kB / 0.9186 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.1343, allocations: 14.56 kB / 0.9186 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.1346, allocations: 166.4 kB / 0.9188 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.1347, allocations: 59.34 kB / 0.9188 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.1348, allocations: 67.34 kB / 0.9189 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.1348, allocations: 0 / 0.9189 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.001456/0.1362, allocations: 0.6402 MB / 0.9195 GB, free: 1.879 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.797576412558556]