Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.233/2.233, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 178.3 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.61/2.61, allocations: 205.4 MB / 0.5772 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000983/0.0009824, allocations: 91.11 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 11.75 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9993/1.222, allocations: 215.5 MB / 1.11 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03361/1.256, allocations: 17.21 MB / 1.127 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004121/1.26, allocations: 75.03 kB / 1.127 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/1.264, allocations: 0.9088 MB / 1.128 GB, free: 3.266 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/1.275, allocations: 2.561 MB / 1.13 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.287, allocations: 2.869 MB / 1.133 GB, free: 3.059 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009416/1.297, allocations: 5.7 MB / 1.139 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003433/1.3, allocations: 1.486 MB / 1.14 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007005/1.307, allocations: 2.119 MB / 1.142 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004601/1.312, allocations: 1.517 MB / 1.144 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006015/1.312, allocations: 84.84 kB / 1.144 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008201/1.321, allocations: 2.219 MB / 1.146 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.322, allocations: 0.6374 MB / 1.146 GB, free: 2.156 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/1.323, allocations: 471.8 kB / 1.147 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006827/1.33, allocations: 3.102 MB / 1.15 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.33, allocations: 2.875 kB / 1.15 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/1.33, allocations: 0 / 1.15 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001008/1.331, allocations: 0 / 1.15 GB, free: 0.6094 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007672/1.338, allocations: 2.51 MB / 1.152 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.338, allocations: 8.531 kB / 1.152 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007829/1.346, allocations: 0.8086 MB / 1.153 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/1.351, allocations: 1.588 MB / 1.155 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006885/1.352, allocations: 175.4 kB / 1.155 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000421/1.353, allocations: 143.7 kB / 1.155 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005324/1.358, allocations: 1.712 MB / 1.157 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/1.358, allocations: 2.438 kB / 1.157 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/1.358, allocations: 57.09 kB / 1.157 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.527e-05/1.358, allocations: 50.31 kB / 1.157 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005807/1.364, allocations: 1.488 MB / 1.158 GB, free: 13.06 MB / 0.7136 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.01731/1.382, allocations: 7.647 MB / 1.166 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/1.386, allocations: 1.641 MB / 1.167 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/1.388, allocations: 0.5347 MB / 1.168 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/1.391, allocations: 0.8082 MB / 1.169 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002184/1.393, allocations: 0.5933 MB / 1.169 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001285/1.394, allocations: 122.2 kB / 1.169 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 4.749e-06/1.394, allocations: 0 / 1.169 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.006884/1.401, allocations: 1.648 MB / 1.171 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.689e-05/1.401, allocations: 136.5 kB / 1.171 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003253/1.404, allocations: 1.634 MB / 1.173 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/1.405, allocations: 47.08 kB / 1.173 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.406, allocations: 0.9333 MB / 1.174 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/1.406, allocations: 299.4 kB / 1.174 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/1.407, allocations: 16.38 kB / 1.174 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.407, allocations: 355.9 kB / 1.174 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/1.409, allocations: 474 kB / 1.175 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/1.411, allocations: 0.8302 MB / 1.176 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/1.413, allocations: 0.5815 MB / 1.176 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.413, allocations: 3.594 kB / 1.176 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005182/1.418, allocations: 1.475 MB / 1.178 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003615/1.419, allocations: 371.9 kB / 1.178 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/1.419, allocations: 15.98 kB / 1.178 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.197e-05/1.419, allocations: 12 kB / 1.178 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/1.421, allocations: 280.8 kB / 1.178 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-05/1.421, allocations: 18.52 kB / 1.178 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/1.424, allocations: 166.7 kB / 1.178 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.424, allocations: 50.48 kB / 1.178 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/1.424, allocations: 5.859 kB / 1.178 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00475/1.429, allocations: 1.291 MB / 1.18 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/1.429, allocations: 15.98 kB / 1.18 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.429, allocations: 12 kB / 1.18 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.431, allocations: 274.1 kB / 1.18 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.863e-05/1.431, allocations: 21.05 kB / 1.18 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.434, allocations: 162.6 kB / 1.18 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/1.434, allocations: 52.73 kB / 1.18 GB, free: 328 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.436, allocations: 0.5497 MB / 1.181 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/1.436, allocations: 177.8 kB / 1.181 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004764/1.441, allocations: 1.211 MB / 1.182 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004063/1.445, allocations: 1.283 MB / 1.183 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.445, allocations: 0 / 1.183 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.447, allocations: 352.5 kB / 1.184 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/1.447, allocations: 17.48 kB / 1.184 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/1.449, allocations: 145.9 kB / 1.184 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/1.449, allocations: 62.97 kB / 1.184 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005805/1.455, allocations: 1.259 MB / 1.185 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006728/1.462, allocations: 1.899 MB / 1.187 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001881/1.464, allocations: 0.4923 MB / 1.187 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002616/1.467, allocations: 1.091 MB / 1.189 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of Backend: time 2.245e-06/1.467, allocations: 0 / 1.189 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.477, allocations: 2.61 MB / 1.191 GB, free: 7.781 MB / 0.7292 GB Notification: Performance of SimCode: time 0.01419/1.491, allocations: 5.151 MB / 1.196 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of Templates: time 0.1171/1.608, allocations: 41.71 MB / 1.237 GB, free: 9.629 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)