Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001068/0.001068, allocations: 178.9 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008065/0.0008064, allocations: 90.31 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003426, allocations: 10.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6/0.7946, allocations: 233.8 MB / 1.125 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.8185, allocations: 18.88 MB / 1.144 GB, free: 452 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.8216, allocations: 76.53 kB / 1.144 GB, free: 452 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.8247, allocations: 1.183 MB / 1.145 GB, free: 412 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007487/0.8322, allocations: 3.242 MB / 1.148 GB, free: 232 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008734/0.8409, allocations: 3.327 MB / 1.151 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008018/0.849, allocations: 6.638 MB / 1.158 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.8516, allocations: 1.579 MB / 1.159 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005856/0.8574, allocations: 2.327 MB / 1.161 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.8606, allocations: 1.606 MB / 1.163 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.8609, allocations: 84.44 kB / 1.163 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007424/0.8683, allocations: 3.861 MB / 1.167 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007383/0.8691, allocations: 0.6392 MB / 1.168 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.8705, allocations: 1.074 MB / 1.169 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00662/0.8771, allocations: 4.482 MB / 1.173 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8772, allocations: 0 / 1.173 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8772, allocations: 4 kB / 1.173 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.861e-05/0.8772, allocations: 0 / 1.173 GB, free: 7.164 MB / 0.7136 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.005182/0.8824, allocations: 2.483 MB / 1.175 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.8825, allocations: 12.89 kB / 1.175 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.8872, allocations: 0.803 MB / 1.176 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00359/0.8908, allocations: 1.654 MB / 1.178 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.8912, allocations: 174.3 kB / 1.178 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.8915, allocations: 153.8 kB / 1.178 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003502/0.895, allocations: 1.719 MB / 1.18 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.417e-05/0.8951, allocations: 5.688 kB / 1.18 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.8952, allocations: 57.28 kB / 1.18 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/0.8953, allocations: 45.2 kB / 1.18 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.8987, allocations: 1.506 MB / 1.181 GB, free: 1.355 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.01034/0.909, allocations: 7.635 MB / 1.189 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.9116, allocations: 1.649 MB / 1.19 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.9127, allocations: 0.5367 MB / 1.191 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.914, allocations: 0.8166 MB / 1.192 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/0.9152, allocations: 0.5868 MB / 1.192 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000731/0.9159, allocations: 127.2 kB / 1.192 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 3.206e-06/0.9159, allocations: 0 / 1.192 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.003886/0.9198, allocations: 1.661 MB / 1.194 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.9199, allocations: 137.5 kB / 1.194 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.922, allocations: 1.648 MB / 1.196 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.443e-05/0.9221, allocations: 45.7 kB / 1.196 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/0.9228, allocations: 0.9308 MB / 1.197 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.9231, allocations: 306.4 kB / 1.197 GB, free: 496 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.9232, allocations: 93.67 kB / 1.197 GB, free: 396 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9234, allocations: 349.9 kB / 1.197 GB, free: 40 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.9244, allocations: 486.3 kB / 1.198 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/0.9257, allocations: 0.8496 MB / 1.199 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.9279, allocations: 1.29 MB / 1.2 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.928, allocations: 4 kB / 1.2 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002962/0.9309, allocations: 1.512 MB / 1.201 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.9312, allocations: 372.8 kB / 1.202 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.9313, allocations: 15.98 kB / 1.202 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.9313, allocations: 12 kB / 1.202 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.9324, allocations: 278.8 kB / 1.202 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.9324, allocations: 22.55 kB / 1.202 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.934, allocations: 171.9 kB / 1.202 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.9341, allocations: 47.98 kB / 1.202 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.9341, allocations: 4 kB / 1.202 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/0.9366, allocations: 1.298 MB / 1.204 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.9366, allocations: 15.98 kB / 1.204 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.9366, allocations: 12 kB / 1.204 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.9377, allocations: 274.2 kB / 1.204 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/0.9377, allocations: 29.64 kB / 1.204 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.9392, allocations: 160.4 kB / 1.204 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.9393, allocations: 51.98 kB / 1.204 GB, free: 8.934 MB / 0.7448 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 (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 (134): * Single equations (assignments): 130 * Array equations: 2 * 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.0009736/0.9403, allocations: 0.5472 MB / 1.205 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.9406, allocations: 185.6 kB / 1.205 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.9433, allocations: 1.211 MB / 1.206 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002185/0.9455, allocations: 1.284 MB / 1.207 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.9455, allocations: 0 / 1.207 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008113/0.9463, allocations: 346.6 kB / 1.208 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.9466, allocations: 23.94 kB / 1.208 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.9477, allocations: 142.6 kB / 1.208 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.9478, allocations: 56.92 kB / 1.208 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003028/0.9509, allocations: 1.268 MB / 1.209 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003595/0.9545, allocations: 1.914 MB / 1.211 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/0.9555, allocations: 0.4997 MB / 1.211 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001713/0.9572, allocations: 1.105 MB / 1.213 GB, free: 228 kB / 0.7448 GB Notification: Performance of Backend: time 5.01e-07/0.9572, allocations: 0 / 1.213 GB, free: 228 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006472/0.9637, allocations: 2.657 MB / 1.215 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of SimCode: time 0.007588/0.9713, allocations: 5.097 MB / 1.22 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of Templates: time 0.06796/1.039, allocations: 42.69 MB / 1.262 GB, free: 14.27 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)