Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.00114/0.00114, allocations: 178.3 kB / 326.5 MB, free: 2.707 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.581/1.581, allocations: 205 MB / 0.5767 GB, free: 21.04 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.0007249/0.0007251, allocations: 93.28 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 12.19 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6013/0.7813, allocations: 258.5 MB / 1.149 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.8097, allocations: 20.25 MB / 1.169 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005179/0.8149, allocations: 86.56 kB / 1.169 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.8198, allocations: 1.292 MB / 1.17 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.8311, allocations: 3.802 MB / 1.174 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009766/0.8408, allocations: 3.422 MB / 1.177 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009848/0.8507, allocations: 7.999 MB / 1.185 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003398/0.8541, allocations: 1.775 MB / 1.187 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.8599, allocations: 2.34 MB / 1.189 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004417/0.8644, allocations: 1.822 MB / 1.191 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.865, allocations: 92.53 kB / 1.191 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009729/0.8747, allocations: 4.578 MB / 1.195 GB, free: 16 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.8762, allocations: 0.7454 MB / 1.196 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.8785, allocations: 1.212 MB / 1.197 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.8886, allocations: 5.22 MB / 1.202 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8886, allocations: 0 / 1.202 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8886, allocations: 0 / 1.202 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001006/0.8887, allocations: 3.938 kB / 1.202 GB, free: 9.105 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.005313/0.894, allocations: 2.717 MB / 1.205 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8941, allocations: 8.031 kB / 1.205 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.899, allocations: 0.8046 MB / 1.206 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003749/0.9028, allocations: 1.81 MB / 1.208 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.9032, allocations: 190.5 kB / 1.208 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.9035, allocations: 171.9 kB / 1.208 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/0.9069, allocations: 1.886 MB / 1.21 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.907, allocations: 7.844 kB / 1.21 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.9071, allocations: 67.83 kB / 1.21 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.9072, allocations: 66.91 kB / 1.21 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.9106, allocations: 1.624 MB / 1.212 GB, free: 15.64 MB / 0.7448 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.01148/0.9221, allocations: 8.364 MB / 1.22 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.9247, allocations: 1.822 MB / 1.222 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.926, allocations: 0.6909 MB / 1.222 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.9266, allocations: 238.7 kB / 1.222 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.928, allocations: 0.7118 MB / 1.223 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009181/0.9289, allocations: 115.2 kB / 1.223 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=101): time 4.077e-06/0.9289, allocations: 0 / 1.223 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=104): time 0.008501/0.9374, allocations: 3.742 MB / 1.227 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.9376, allocations: 145.5 kB / 1.227 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.9397, allocations: 1.629 MB / 1.229 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.9398, allocations: 61.69 kB / 1.229 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/0.9406, allocations: 0.9691 MB / 1.23 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.9409, allocations: 371.6 kB / 1.23 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.9411, allocations: 113.6 kB / 1.23 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9412, allocations: 361.9 kB / 1.23 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.9424, allocations: 0.5765 MB / 1.231 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.9439, allocations: 0.9459 MB / 1.232 GB, free: 9.746 MB / 0.7605 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01536/0.9593, allocations: 4.744 MB / 1.237 GB, free: 4.863 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.9593, allocations: 4 kB / 1.237 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003977/0.9633, allocations: 1.792 MB / 1.238 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002835/0.9636, allocations: 334.9 kB / 1.239 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.9636, allocations: 12 kB / 1.239 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.9639, allocations: 56.77 kB / 1.239 GB, free: 2.543 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.9651, allocations: 303.6 kB / 1.239 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.9665, allocations: 1.528 MB / 1.241 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.9686, allocations: 193.4 kB / 1.241 GB, free: 412 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.9687, allocations: 51.98 kB / 1.241 GB, free: 360 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/0.9687, allocations: 4 kB / 1.241 GB, free: 356 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/0.9718, allocations: 1.563 MB / 1.242 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.9718, allocations: 11.94 kB / 1.242 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.972, allocations: 53.09 kB / 1.242 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.9732, allocations: 307.6 kB / 1.243 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.9744, allocations: 1.512 MB / 1.244 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.9764, allocations: 192.3 kB / 1.244 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9765, allocations: 48 kB / 1.244 GB, free: 12.53 MB / 0.7761 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (152): * Single equations (assignments): 146 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.9776, allocations: 0.6021 MB / 1.245 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.978, allocations: 189.8 kB / 1.245 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/0.981, allocations: 1.479 MB / 1.247 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002429/0.9835, allocations: 1.211 MB / 1.248 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.9835, allocations: 0 / 1.248 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.9844, allocations: 398.5 kB / 1.248 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.9846, allocations: 28 kB / 1.248 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.986, allocations: 171.6 kB / 1.248 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.9862, allocations: 68.89 kB / 1.248 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003668/0.9898, allocations: 1.569 MB / 1.25 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004015/0.9939, allocations: 2.298 MB / 1.252 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001161/0.9951, allocations: 0.609 MB / 1.253 GB, free: 3.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001566/0.9966, allocations: 1.102 MB / 1.254 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of Backend: time 5.01e-07/0.9966, allocations: 0 / 1.254 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006473/1.003, allocations: 3.014 MB / 1.257 GB, free: 15.72 MB / 0.7917 GB Notification: Performance of SimCode: time 0.008777/1.012, allocations: 5.655 MB / 1.262 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of Templates: time 0.07793/1.09, allocations: 49.96 MB / 1.311 GB, free: 8.43 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)