Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.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.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.189/2.189, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001339/0.001339, allocations: 172.2 kB / 326.3 MB, free: 2.863 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.307/2.307, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009909/0.0009904, allocations: 90.14 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000745/0.0007452, allocations: 16.44 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2369, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling): time 0.007807/0.2447, allocations: 5.729 MB / 0.9051 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2257/0.4705, allocations: 143.6 MB / 1.045 GB, free: 11.76 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.4716, allocations: 11.94 kB / 1.045 GB, free: 11.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.4739, allocations: 0.5289 MB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.4764, allocations: 0.532 MB / 1.046 GB, free: 10.68 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005837/0.4823, allocations: 1.348 MB / 1.048 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006374/0.4887, allocations: 3.697 MB / 1.051 GB, free: 5.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.4906, allocations: 0.7684 MB / 1.052 GB, free: 4.852 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.494, allocations: 1.409 MB / 1.053 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003514/0.4975, allocations: 1.553 MB / 1.055 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.4988, allocations: 236 kB / 1.055 GB, free: 1.648 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005506/0.5044, allocations: 1.361 MB / 1.057 GB, free: 292 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.7163/1.221, allocations: 1.404 MB / 1.058 GB, free: 7.879 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002094/1.223, allocations: 0.8708 MB / 1.059 GB, free: 7.848 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/1.236, allocations: 8.947 MB / 1.067 GB, free: 7.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.236, allocations: 0 / 1.067 GB, free: 7.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.886e-06/1.236, allocations: 3.188 kB / 1.067 GB, free: 7.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001901/1.237, allocations: 0 / 1.067 GB, free: 7.656 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.0165/1.253, allocations: 4.473 MB / 1.072 GB, free: 5.492 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.253, allocations: 10.14 kB / 1.072 GB, free: 5.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05605/1.309, allocations: 3.725 MB / 1.075 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02214/1.331, allocations: 4.596 MB / 1.08 GB, free: 4.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001516/1.333, allocations: 321.5 kB / 1.08 GB, free: 4.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/1.335, allocations: 101.6 kB / 1.08 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03751/1.372, allocations: 5.662 MB / 1.086 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/1.372, allocations: 0 / 1.086 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/1.374, allocations: 37.75 kB / 1.086 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/1.374, allocations: 20.69 kB / 1.086 GB, free: 4.117 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05689/1.43, allocations: 8.2 MB / 1.094 GB, free: 3.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05569/1.486, allocations: 15.56 MB / 1.109 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04804/1.534, allocations: 8.261 MB / 1.117 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01892/1.553, allocations: 3.786 MB / 1.121 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/1.555, allocations: 1.024 MB / 1.122 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02211/1.577, allocations: 5.083 MB / 1.127 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 6.943e-06/1.577, allocations: 0 / 1.127 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.1402/1.717, allocations: 13.19 MB / 1.14 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002165/1.718, allocations: 116.2 kB / 1.14 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03188/1.75, allocations: 7.829 MB / 1.148 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00145/1.751, allocations: 90.75 kB / 1.148 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004233/1.755, allocations: 1.668 MB / 1.149 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.757, allocations: 423.3 kB / 1.15 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/1.757, allocations: 25.88 kB / 1.15 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002802/1.758, allocations: 365.6 kB / 1.15 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02158/1.779, allocations: 4.587 MB / 1.154 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02145/1.801, allocations: 4.64 MB / 1.159 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01974/1.821, allocations: 3.861 MB / 1.163 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/1.821, allocations: 0 / 1.163 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.08782/1.909, allocations: 10.78 MB / 1.173 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003425/1.909, allocations: 258.4 kB / 1.174 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.909, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009832/1.919, allocations: 1.165 MB / 1.175 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01102/1.93, allocations: 0.7963 MB / 1.175 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02504/1.955, allocations: 10.49 MB / 1.186 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/1.968, allocations: 0.679 MB / 1.186 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.97, allocations: 133.1 kB / 1.187 GB, free: 412 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.97, allocations: 6.031 kB / 1.187 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07778/2.047, allocations: 10.42 MB / 1.197 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/2.048, allocations: 0 / 1.197 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/2.054, allocations: 0.997 MB / 1.198 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.065, allocations: 0.8022 MB / 1.198 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01827/2.084, allocations: 9.029 MB / 1.207 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01292/2.097, allocations: 0.6713 MB / 1.208 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001185/2.098, allocations: 120.5 kB / 1.208 GB, free: 13.7 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 58 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition17,dxCoo.wetCoi.cooCap.stage,$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],dxCoo.wetCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[2],dxCoo.wetCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[3],dxCoo.wetCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTEva[4],dxCoo.wetCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[2],dxCoo.wetCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[3],dxCoo.wetCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.cooCap.checkBoundsTCon[4],dxCoo.wetCoi.shr.on,dxCoo.dryCoi.cooCap.stage,$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[2],dxCoo.dryCoi.cooCap.checkBoundsTEva[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[3],dxCoo.dryCoi.cooCap.checkBoundsTEva[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTEva[4],dxCoo.dryCoi.cooCap.checkBoundsTEva[4],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[2],dxCoo.dryCoi.cooCap.checkBoundsTCon[2],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[3],dxCoo.dryCoi.cooCap.checkBoundsTCon[3],$PRE.dxCoo.dryCoi.cooCap.checkBoundsTCon[4],dxCoo.dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 1,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006816/2.105, allocations: 1.978 MB / 1.21 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002824/2.108, allocations: 414.8 kB / 1.21 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07724/2.185, allocations: 9.32 MB / 1.219 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/2.185, allocations: 11.97 kB / 1.219 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/2.185, allocations: 0 / 1.219 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006427/2.191, allocations: 1.616 MB / 1.221 GB, free: 3.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002962/2.194, allocations: 137.9 kB / 1.221 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01358/2.208, allocations: 0.673 MB / 1.222 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008155/2.209, allocations: 144.3 kB / 1.222 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05591/2.265, allocations: 8.273 MB / 1.23 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06679/2.332, allocations: 13 MB / 1.243 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02024/2.352, allocations: 3.867 MB / 1.247 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01841/2.37, allocations: 5.575 MB / 1.252 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of Backend: time 7.22e-07/2.371, allocations: 0 / 1.252 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.06876/2.439, allocations: 12.96 MB / 1.265 GB, free: 10.02 MB / 0.823 GB Notification: Performance of SimCode: time 0.02999/2.469, allocations: 9.62 MB / 1.274 GB, free: 380 kB / 0.823 GB Notification: Performance of Templates: time 0.9181/3.387, allocations: 129.4 MB / 1.4 GB, free: 396.2 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe 2>&1)