Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 192.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.706/2.706, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.23 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3056, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.8711/1.177, allocations: 236.4 MB / 1.299 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.202, allocations: 17.53 MB / 1.316 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/1.206, allocations: 94.44 kB / 1.316 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01171/1.218, allocations: 4.594 MB / 1.321 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.228, allocations: 3.446 MB / 1.324 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006592/1.235, allocations: 2.5 MB / 1.327 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.246, allocations: 7.748 MB / 1.334 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/1.249, allocations: 1.923 MB / 1.336 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/1.255, allocations: 2.643 MB / 1.339 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003335/1.259, allocations: 1.605 MB / 1.34 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004656/1.259, allocations: 203.6 kB / 1.34 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007414/1.266, allocations: 3.587 MB / 1.344 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/1.268, allocations: 0.8849 MB / 1.345 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/1.269, allocations: 1.374 MB / 1.346 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008034/1.277, allocations: 4.817 MB / 1.351 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.278, allocations: 0 / 1.351 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.194e-06/1.278, allocations: 4 kB / 1.351 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.452e-05/1.278, allocations: 2.531 kB / 1.351 GB, free: 0.8594 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007359/1.285, allocations: 3.232 MB / 1.354 GB, free: 14.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/1.285, allocations: 10.19 kB / 1.354 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005378/1.29, allocations: 0.8837 MB / 1.355 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004311/1.295, allocations: 2.668 MB / 1.357 GB, free: 13.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003826/1.295, allocations: 168.8 kB / 1.358 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/1.295, allocations: 148 kB / 1.358 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.298, allocations: 1.672 MB / 1.359 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/1.298, allocations: 7.312 kB / 1.359 GB, free: 12.47 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/1.299, allocations: 57.28 kB / 1.359 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/1.299, allocations: 54.3 kB / 1.359 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/1.302, allocations: 1.463 MB / 1.361 GB, free: 11.9 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/1.314, allocations: 8.181 MB / 1.369 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/1.317, allocations: 1.588 MB / 1.37 GB, free: 3.812 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/1.318, allocations: 0.5233 MB / 1.371 GB, free: 3.559 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/1.32, allocations: 0.7707 MB / 1.372 GB, free: 2.742 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/1.321, allocations: 0.541 MB / 1.372 GB, free: 2.422 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/1.321, allocations: 4 kB / 1.372 GB, free: 2.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.005094/1.326, allocations: 1.628 MB / 1.374 GB, free: 1.574 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.326, allocations: 63.11 kB / 1.374 GB, free: 1.508 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/1.33, allocations: 2.14 MB / 1.376 GB, free: 364 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/1.33, allocations: 48.3 kB / 1.376 GB, free: 316 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.332, allocations: 1.12 MB / 1.377 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/1.332, allocations: 296.8 kB / 1.377 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004569/1.332, allocations: 316.8 kB / 1.378 GB, free: 15.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.332, allocations: 302.3 kB / 1.378 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/1.334, allocations: 0.627 MB / 1.379 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001656/1.336, allocations: 1.025 MB / 1.38 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.338, allocations: 1.553 MB / 1.381 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.338, allocations: 2.531 kB / 1.381 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.00408/1.342, allocations: 1.923 MB / 1.383 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/1.342, allocations: 39.05 kB / 1.383 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.342, allocations: 13.62 kB / 1.383 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/1.343, allocations: 18.16 kB / 1.383 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.344, allocations: 328.3 kB / 1.383 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/1.344, allocations: 19.5 kB / 1.383 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/1.346, allocations: 191 kB / 1.384 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.346, allocations: 58.45 kB / 1.384 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002262/1.348, allocations: 1.113 MB / 1.385 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001565/1.35, allocations: 1.021 MB / 1.386 GB, free: 10.28 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002789/1.352, allocations: 1.568 MB / 1.387 GB, free: 9.281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/1.352, allocations: 2.031 kB / 1.387 GB, free: 9.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003908/1.356, allocations: 1.914 MB / 1.389 GB, free: 8.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/1.356, allocations: 39.77 kB / 1.389 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.356, allocations: 12.16 kB / 1.389 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.356, allocations: 17.88 kB / 1.389 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.358, allocations: 330.9 kB / 1.389 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/1.358, allocations: 21.78 kB / 1.389 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.36, allocations: 158.7 kB / 1.39 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/1.36, allocations: 62.2 kB / 1.39 GB, free: 8.164 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0004173/1.36, allocations: 262 kB / 1.39 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004171/1.361, allocations: 208.3 kB / 1.39 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.364, allocations: 1.2 MB / 1.391 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.364, allocations: 8.438 kB / 1.391 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.364, allocations: 4 kB / 1.391 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002401/1.366, allocations: 1.244 MB / 1.393 GB, free: 5.945 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/1.372, allocations: 3.11 MB / 1.396 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.372, allocations: 0 / 1.396 GB, free: 2.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/1.373, allocations: 195.6 kB / 1.396 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/1.374, allocations: 47.36 kB / 1.396 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/1.374, allocations: 27.92 kB / 1.396 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.375, allocations: 1.531 MB / 1.397 GB, free: 0.8438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.375, allocations: 8.062 kB / 1.397 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/1.379, allocations: 1.772 MB / 1.399 GB, free: 15.03 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/1.38, allocations: 394.1 kB / 1.399 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/1.38, allocations: 20.12 kB / 1.399 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.382, allocations: 71.94 kB / 1.4 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.382, allocations: 75.02 kB / 1.4 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.247e-05/1.382, allocations: 27.98 kB / 1.4 GB, free: 14.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002183/1.384, allocations: 1.429 MB / 1.401 GB, free: 12.99 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.92e-07/1.384, allocations: 0 / 1.401 GB, free: 12.99 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003226/1.387, allocations: 1.095 MB / 1.402 GB, free: 11.89 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001902/1.389, allocations: 0.7337 MB / 1.403 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0053/1.394, allocations: 2.442 MB / 1.405 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.394, allocations: 0 / 1.405 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.396, allocations: 0.6149 MB / 1.406 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/1.4, allocations: 1.022 MB / 1.407 GB, free: 7.34 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/1.409, allocations: 4.254 MB / 1.411 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.411, allocations: 1.66 MB / 1.413 GB, free: 1.363 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002411/1.413, allocations: 0.5558 MB / 1.413 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/1.414, allocations: 163.4 kB / 1.413 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of SimCode: time 9.51e-07/1.414, allocations: 0 / 1.413 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of Templates: time 0.06686/1.48, allocations: 39.02 MB / 1.451 GB, free: 10.26 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)