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.001055/0.001055, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001068/0.001068, allocations: 172.1 kB / 25.05 MB, free: 9.238 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 1.014/1.014, allocations: 177.1 MB / 205.5 MB, free: 5.449 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.894/1.894, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.493e-06/1.493e-06, allocations: 0.7656 kB / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.365e-05, allocations: 5.688 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1245/0.1245, allocations: 143.6 MB / 0.9163 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001277/0.1246, allocations: 51.73 kB / 0.9164 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.1246, allocations: 0 / 0.9164 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 9.717e-05/0.1247, allocations: 11.92 kB / 0.9164 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1248, allocations: 7.984 kB / 0.9164 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.1254, allocations: 230.9 kB / 0.9166 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.1254, allocations: 39.84 kB / 0.9167 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.148e-05/0.1255, allocations: 4 kB / 0.9167 GB, free: 5.016 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.1255, allocations: 19.97 kB / 0.9167 GB, free: 4.996 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.1256, allocations: 15.92 kB / 0.9167 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1256, allocations: 0 / 0.9167 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1259, allocations: 171.4 kB / 0.9169 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.1259, allocations: 19.91 kB / 0.9169 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.1259, allocations: 4 kB / 0.9169 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.1261, allocations: 119.6 kB / 0.917 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1261, allocations: 0 / 0.917 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1261, allocations: 0 / 0.917 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.1261, allocations: 0 / 0.917 GB, free: 4.672 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.0002256/0.1263, allocations: 236.9 kB / 0.9172 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1263, allocations: 13.34 kB / 0.9172 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.1266, allocations: 44.83 kB / 0.9173 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.777e-05/0.1266, allocations: 101.8 kB / 0.9174 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.1267, allocations: 55.97 kB / 0.9174 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.1267, allocations: 4.125 kB / 0.9174 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1268, allocations: 82.91 kB / 0.9175 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.1268, allocations: 0 / 0.9175 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1268, allocations: 0 / 0.9175 GB, free: 4.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1268, allocations: 11.92 kB / 0.9175 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.1268, allocations: 8 kB / 0.9175 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.127, allocations: 158 kB / 0.9177 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.869e-05/0.1271, allocations: 30.52 kB / 0.9177 GB, free: 3.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.075e-05/0.1271, allocations: 4.859 kB / 0.9177 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.1271, allocations: 16.09 kB / 0.9177 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1272, allocations: 34.5 kB / 0.9178 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1272, allocations: 0 / 0.9178 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001526/0.1273, allocations: 53.72 kB / 0.9178 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1274, allocations: 59.42 kB / 0.9179 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.407e-05/0.1274, allocations: 102.7 kB / 0.918 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1274, allocations: 25.7 kB / 0.918 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.1275, allocations: 88.09 kB / 0.9181 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.1275, allocations: 3.953 kB / 0.9181 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.1275, allocations: 21.7 kB / 0.9181 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/0.1276, allocations: 314.8 kB / 0.9184 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.1276, allocations: 4 kB / 0.9184 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.1276, allocations: 26.45 kB / 0.9184 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.074e-05/0.1276, allocations: 33.39 kB / 0.9185 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1276, allocations: 3.938 kB / 0.9185 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.17e-05/0.1277, allocations: 45.62 kB / 0.9185 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1277, allocations: 4 kB / 0.9185 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1277, allocations: 0 / 0.9185 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.1277, allocations: 4 kB / 0.9185 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.619e-05/0.1277, allocations: 7.938 kB / 0.9185 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1278, allocations: 8 kB / 0.9185 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.1278, allocations: 8.047 kB / 0.9185 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/0.1278, allocations: 0 / 0.9185 GB, free: 2.895 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 6.099e-05/0.1278, allocations: 128.5 kB / 0.9187 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.1278, allocations: 0 / 0.9187 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.626e-05/0.1279, allocations: 3.312 kB / 0.9187 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1279, allocations: 4 kB / 0.9187 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1279, allocations: 0 / 0.9187 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1279, allocations: 0 / 0.9187 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.128, allocations: 275.7 kB / 0.9189 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.128, allocations: 64 / 0.9189 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.1281, allocations: 8 kB / 0.9189 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1281, allocations: 0 / 0.9189 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.1281, allocations: 0 / 0.9189 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1281, allocations: 3.984 kB / 0.9189 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1281, allocations: 4 kB / 0.9189 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.898e-05/0.1281, allocations: 65.88 kB / 0.919 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.1281, allocations: 12.27 kB / 0.919 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.1281, allocations: 0 / 0.919 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.1282, allocations: 0 / 0.919 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-06/0.1282, allocations: 4 kB / 0.919 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1282, allocations: 8.016 kB / 0.919 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.287e-05/0.1282, allocations: 12.84 kB / 0.919 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1282, allocations: 0 / 0.919 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001022/0.1283, allocations: 8 kB / 0.9191 GB, free: 2.301 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.00011/0.1284, allocations: 80.41 kB / 0.9191 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.272e-05/0.1285, allocations: 24.73 kB / 0.9192 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1285, allocations: 192 / 0.9192 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.1285, allocations: 16.8 kB / 0.9192 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.1286, allocations: 11.98 kB / 0.9192 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.1292, allocations: 132.4 kB / 0.9193 GB, free: 1.992 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.005e-05/0.1292, allocations: 55.36 kB / 0.9194 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.1292, allocations: 8.125 kB / 0.9194 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.1293, allocations: 63.34 kB / 0.9194 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/0.1293, allocations: 0 / 0.9194 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of Templates: time 0.002111/0.1314, allocations: 0.7953 MB / 0.9202 GB, free: 1.062 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.944773200899363]