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.001069/0.001069, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001004/0.001004, allocations: 161 kB / 24.17 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.9834/0.9834, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.939/1.939, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.573e-06/1.573e-06, allocations: 0.7656 kB / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.327e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1327/0.1327, allocations: 143.6 MB / 0.9153 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.1328, allocations: 55.73 kB / 0.9154 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.1328, allocations: 0 / 0.9154 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1329, allocations: 3.938 kB / 0.9154 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.133, allocations: 15.97 kB / 0.9154 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.1337, allocations: 234.9 kB / 0.9156 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.1338, allocations: 31.73 kB / 0.9156 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.1338, allocations: 3.984 kB / 0.9157 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.1338, allocations: 19.98 kB / 0.9157 GB, free: 5.176 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.1339, allocations: 19.92 kB / 0.9157 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1339, allocations: 0 / 0.9157 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.1342, allocations: 171.4 kB / 0.9159 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1343, allocations: 7.938 kB / 0.9159 GB, free: 4.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.1343, allocations: 7.984 kB / 0.9159 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1345, allocations: 111.7 kB / 0.916 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1345, allocations: 0 / 0.916 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1345, allocations: 0 / 0.916 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.1345, allocations: 3.938 kB / 0.916 GB, free: 4.859 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.0002757/0.1348, allocations: 248.8 kB / 0.9162 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1348, allocations: 13.34 kB / 0.9162 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.135, allocations: 32.84 kB / 0.9163 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.1351, allocations: 109.8 kB / 0.9164 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.1352, allocations: 51.97 kB / 0.9164 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1352, allocations: 12.12 kB / 0.9164 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1353, allocations: 74.92 kB / 0.9165 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1353, allocations: 0 / 0.9165 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1353, allocations: 0 / 0.9165 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.1353, allocations: 4 kB / 0.9165 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.1353, allocations: 15.92 kB / 0.9165 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.1355, allocations: 162 kB / 0.9167 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.94e-05/0.1356, allocations: 22.52 kB / 0.9167 GB, free: 4.027 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-06/0.1356, allocations: 4.859 kB / 0.9167 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.9e-05/0.1357, allocations: 20.09 kB / 0.9167 GB, free: 4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.1357, allocations: 34.56 kB / 0.9167 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.1357, allocations: 0 / 0.9167 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.1358, allocations: 53.56 kB / 0.9168 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1359, allocations: 51.41 kB / 0.9168 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.1359, allocations: 106.7 kB / 0.9169 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1359, allocations: 29.7 kB / 0.917 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.136, allocations: 84.09 kB / 0.9171 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.052e-06/0.136, allocations: 7.953 kB / 0.9171 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.136, allocations: 17.7 kB / 0.9171 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.1361, allocations: 318.8 kB / 0.9174 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.1361, allocations: 0 / 0.9174 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.1361, allocations: 22.89 kB / 0.9174 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.1361, allocations: 33.33 kB / 0.9174 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1361, allocations: 3.938 kB / 0.9174 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.14e-05/0.1362, allocations: 49.62 kB / 0.9175 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1362, allocations: 8 kB / 0.9175 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1362, allocations: 3.938 kB / 0.9175 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1362, allocations: 96 / 0.9175 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.776e-05/0.1363, allocations: 12.08 kB / 0.9175 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.1363, allocations: 4 kB / 0.9175 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1363, allocations: 3.953 kB / 0.9175 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1363, allocations: 4 kB / 0.9175 GB, free: 3.078 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.429e-05/0.1363, allocations: 120.5 kB / 0.9176 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1364, allocations: 4 kB / 0.9176 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.1364, allocations: 11.3 kB / 0.9177 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1364, allocations: 0 / 0.9177 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.1364, allocations: 0 / 0.9177 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1364, allocations: 0 / 0.9177 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1366, allocations: 279.7 kB / 0.9179 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1366, allocations: 4 kB / 0.9179 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.1366, allocations: 4 kB / 0.9179 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1366, allocations: 0 / 0.9179 GB, free: 2.621 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.1366, allocations: 4 kB / 0.9179 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1366, allocations: 0 / 0.9179 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1366, allocations: 0 / 0.9179 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.719e-05/0.1366, allocations: 69.86 kB / 0.918 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.1366, allocations: 4 kB / 0.918 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.1366, allocations: 96 / 0.918 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.1367, allocations: 11.98 kB / 0.918 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.1367, allocations: 0 / 0.918 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1367, allocations: 0 / 0.918 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.018e-05/0.1367, allocations: 12.84 kB / 0.918 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0 / 0.918 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001072/0.1368, allocations: 12 kB / 0.918 GB, free: 2.484 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.0001021/0.1369, allocations: 80.41 kB / 0.9181 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.137, allocations: 24.73 kB / 0.9181 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.137, allocations: 0 / 0.9181 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.137, allocations: 8.859 kB / 0.9181 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.1371, allocations: 19.97 kB / 0.9182 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.1374, allocations: 124.7 kB / 0.9183 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.1374, allocations: 63.34 kB / 0.9183 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.1375, allocations: 4 kB / 0.9183 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.1375, allocations: 71.27 kB / 0.9184 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of SimCode: time 5.01e-07/0.1375, allocations: 0 / 0.9184 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of Templates: time 0.002315/0.1399, allocations: 0.7887 MB / 0.9192 GB, free: 1.25 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: 5.013906687963754]