Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 304.3 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009623/0.0009625, allocations: 179 kB / 372.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 0.6316 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006791/0.0006792, allocations: 98.09 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 21.38 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 115.3 MB / 0.9808 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling): time 0.004962/0.2087, allocations: 5.722 MB / 0.9863 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6595/0.8682, allocations: 143.5 MB / 1.127 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009798/0.8693, allocations: 10.09 kB / 1.127 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.8707, allocations: 0.5314 MB / 1.127 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.8726, allocations: 0.5982 MB / 1.128 GB, free: 3.215 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.003831/0.8764, allocations: 1.44 MB / 1.129 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004671/0.8811, allocations: 4.371 MB / 1.133 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.8823, allocations: 0.8038 MB / 1.134 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/0.8854, allocations: 1.401 MB / 1.135 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.8878, allocations: 1.561 MB / 1.137 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000872/0.8887, allocations: 235.9 kB / 1.137 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.8931, allocations: 1.863 MB / 1.139 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.8947, allocations: 1.417 MB / 1.14 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00324/0.898, allocations: 2.112 MB / 1.142 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.9088, allocations: 9.05 MB / 1.151 GB, free: 11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9088, allocations: 3.438 kB / 1.151 GB, free: 11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/0.9088, allocations: 0 / 1.151 GB, free: 11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002091/0.9091, allocations: 0 / 1.151 GB, free: 11 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.01239/0.9215, allocations: 4.427 MB / 1.156 GB, free: 8.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.9215, allocations: 8.875 kB / 1.156 GB, free: 8.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0316/0.9532, allocations: 3.718 MB / 1.159 GB, free: 6.859 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/0.9653, allocations: 4.8 MB / 1.164 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/0.9658, allocations: 321.1 kB / 1.164 GB, free: 5.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005013/0.9663, allocations: 97.48 kB / 1.164 GB, free: 5.113 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.9802, allocations: 5.662 MB / 1.17 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.9803, allocations: 2.969 kB / 1.17 GB, free: 3.113 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.9807, allocations: 35.84 kB / 1.17 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.9807, allocations: 19.62 kB / 1.17 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/1.003, allocations: 8.199 MB / 1.178 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/1.041, allocations: 15.57 MB / 1.193 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02669/1.068, allocations: 8.252 MB / 1.201 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01087/1.078, allocations: 3.783 MB / 1.205 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.08, allocations: 1.021 MB / 1.206 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01409/1.094, allocations: 5.087 MB / 1.211 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=137): time 7.174e-06/1.094, allocations: 0 / 1.211 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=137): time 0.05677/1.151, allocations: 13.18 MB / 1.224 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.151, allocations: 118.3 kB / 1.224 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/1.167, allocations: 7.823 MB / 1.231 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.168, allocations: 95.42 kB / 1.232 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/1.171, allocations: 1.668 MB / 1.233 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.172, allocations: 424 kB / 1.234 GB, free: 6.496 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.173, allocations: 28 kB / 1.234 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.173, allocations: 361.9 kB / 1.234 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01196/1.185, allocations: 4.591 MB / 1.238 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/1.197, allocations: 4.633 MB / 1.243 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02176/1.219, allocations: 7.041 MB / 1.25 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.219, allocations: 4 kB / 1.25 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.04464/1.264, allocations: 10.77 MB / 1.26 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003371/1.264, allocations: 269.3 kB / 1.261 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.264, allocations: 0 / 1.261 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005563/1.27, allocations: 1.16 MB / 1.262 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005986/1.276, allocations: 0.7996 MB / 1.263 GB, free: 8.703 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.288, allocations: 10.32 MB / 1.273 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00812/1.296, allocations: 0.6818 MB / 1.273 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009839/1.297, allocations: 123.8 kB / 1.273 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.297, allocations: 4 kB / 1.273 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04096/1.338, allocations: 10.43 MB / 1.284 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.338, allocations: 7.938 kB / 1.284 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.343, allocations: 0.9885 MB / 1.285 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005773/1.348, allocations: 0.7957 MB / 1.285 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008894/1.357, allocations: 8.844 MB / 1.294 GB, free: 7.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007877/1.365, allocations: 0.6759 MB / 1.295 GB, free: 6.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/1.366, allocations: 119.8 kB / 1.295 GB, free: 6.277 MB / 0.823 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.004619/1.371, allocations: 1.974 MB / 1.297 GB, free: 4.285 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002073/1.373, allocations: 418.8 kB / 1.297 GB, free: 3.871 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04007/1.413, allocations: 9.314 MB / 1.306 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-05/1.413, allocations: 7.922 kB / 1.306 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.413, allocations: 0 / 1.306 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005286/1.418, allocations: 1.62 MB / 1.308 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002379/1.421, allocations: 133.9 kB / 1.308 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007941/1.429, allocations: 0.6788 MB / 1.309 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005642/1.429, allocations: 141.1 kB / 1.309 GB, free: 7.93 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02899/1.458, allocations: 8.267 MB / 1.317 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03674/1.495, allocations: 13.02 MB / 1.33 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01111/1.506, allocations: 3.863 MB / 1.333 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01238/1.519, allocations: 5.579 MB / 1.339 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of Backend: time 1.903e-06/1.519, allocations: 0 / 1.339 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03629/1.555, allocations: 12.68 MB / 1.351 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01857/1.574, allocations: 9.594 MB / 1.36 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of Templates: time 0.6627/2.236, allocations: 132.1 MB / 1.489 GB, free: 308.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe 2>&1)