Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.753/1.753, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.001264/0.001264, allocations: 189.3 kB / 371.8 MB, free: 10.82 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.396/1.396, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.00079/0.0007901, allocations: 94.28 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004969, allocations: 13.05 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling): time 0.005622/0.2213, allocations: 5.714 MB / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.618/0.8394, allocations: 143.6 MB / 1.125 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.8406, allocations: 11.5 kB / 1.125 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.8428, allocations: 0.5343 MB / 1.126 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.8454, allocations: 0.5331 MB / 1.126 GB, free: 2.469 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.004589/0.85, allocations: 1.341 MB / 1.127 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004878/0.8549, allocations: 4.365 MB / 1.132 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.8564, allocations: 0.7901 MB / 1.132 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002968/0.8594, allocations: 1.417 MB / 1.134 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.8626, allocations: 1.558 MB / 1.135 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.8643, allocations: 235.4 kB / 1.136 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.8706, allocations: 1.361 MB / 1.137 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002848/0.8735, allocations: 1.409 MB / 1.138 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/0.8766, allocations: 0.8717 MB / 1.139 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.8883, allocations: 8.955 MB / 1.148 GB, free: 11.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.8883, allocations: 0 / 1.148 GB, free: 11.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.8883, allocations: 0 / 1.148 GB, free: 11.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002487/0.8886, allocations: 0 / 1.148 GB, free: 11.8 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.01473/0.9033, allocations: 4.431 MB / 1.152 GB, free: 9.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.9034, allocations: 8.219 kB / 1.152 GB, free: 9.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03163/0.9351, allocations: 3.724 MB / 1.156 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.9503, allocations: 4.791 MB / 1.161 GB, free: 6.125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008629/0.9512, allocations: 321.2 kB / 1.161 GB, free: 5.922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009186/0.9522, allocations: 96.53 kB / 1.161 GB, free: 5.922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.9679, allocations: 5.669 MB / 1.166 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.9679, allocations: 0 / 1.166 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000703/0.9687, allocations: 36.58 kB / 1.167 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.9687, allocations: 21.78 kB / 1.167 GB, free: 4.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.9916, allocations: 8.202 MB / 1.175 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04169/1.033, allocations: 15.56 MB / 1.19 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03299/1.066, allocations: 8.25 MB / 1.198 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/1.077, allocations: 3.783 MB / 1.202 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/1.078, allocations: 1.019 MB / 1.202 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01366/1.092, allocations: 5.094 MB / 1.207 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=137): time 8.376e-06/1.092, allocations: 0 / 1.207 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of matching and sorting (n=137): time 0.05686/1.149, allocations: 13.19 MB / 1.22 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/1.149, allocations: 117.1 kB / 1.22 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02001/1.169, allocations: 7.83 MB / 1.228 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.171, allocations: 93.67 kB / 1.228 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002536/1.173, allocations: 1.66 MB / 1.23 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.174, allocations: 419.4 kB / 1.23 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.174, allocations: 28 kB / 1.23 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.175, allocations: 369.8 kB / 1.231 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/1.186, allocations: 4.585 MB / 1.235 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.198, allocations: 4.631 MB / 1.24 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02/1.218, allocations: 7.047 MB / 1.246 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.218, allocations: 0 / 1.246 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.04209/1.26, allocations: 10.78 MB / 1.257 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/1.261, allocations: 256 kB / 1.257 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.261, allocations: 0 / 1.257 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/1.266, allocations: 1.171 MB / 1.258 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005874/1.272, allocations: 0.7957 MB / 1.259 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/1.284, allocations: 10.32 MB / 1.269 GB, free: 496 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007847/1.292, allocations: 0.6874 MB / 1.27 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/1.293, allocations: 123.8 kB / 1.27 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.293, allocations: 4 kB / 1.27 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04052/1.334, allocations: 10.42 MB / 1.28 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.334, allocations: 4 kB / 1.28 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/1.338, allocations: 0.9924 MB / 1.281 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005627/1.343, allocations: 0.8035 MB / 1.282 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/1.352, allocations: 8.839 MB / 1.291 GB, free: 9.867 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007619/1.36, allocations: 0.6664 MB / 1.291 GB, free: 9.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008376/1.36, allocations: 127.8 kB / 1.291 GB, free: 9.074 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.004321/1.365, allocations: 1.973 MB / 1.293 GB, free: 7.086 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.367, allocations: 418.8 kB / 1.294 GB, free: 6.672 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03827/1.405, allocations: 9.312 MB / 1.303 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.88e-05/1.405, allocations: 9.719 kB / 1.303 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.405, allocations: 0 / 1.303 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007244/1.412, allocations: 1.624 MB / 1.304 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002871/1.415, allocations: 135.9 kB / 1.305 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009132/1.424, allocations: 0.6632 MB / 1.305 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006513/1.425, allocations: 149.1 kB / 1.305 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0296/1.455, allocations: 8.277 MB / 1.313 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03739/1.492, allocations: 13.01 MB / 1.326 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0108/1.503, allocations: 3.873 MB / 1.33 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01434/1.518, allocations: 5.567 MB / 1.335 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of Backend: time 9.22e-07/1.518, allocations: 0 / 1.335 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03882/1.556, allocations: 12.67 MB / 1.348 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of SimCode: time 0.02508/1.582, allocations: 9.602 MB / 1.357 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of Templates: time 0.6127/2.194, allocations: 131.5 MB / 1.486 GB, free: 312.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DXCooling.pipe 2>&1)