Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 106.8 kB / 16.38 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 194.6 kB / 17.31 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001629, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2389, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00437/0.2433, allocations: 2.909 MB / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4171/0.6604, allocations: 2.234 MB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.6607, allocations: 4.625 kB / 0.7898 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.6621, allocations: 262.1 kB / 0.7901 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.6626, allocations: 74.08 kB / 0.7902 GB, free: 47.1 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.002163/0.6647, allocations: 489.8 kB / 0.7906 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.6657, allocations: 0.5031 MB / 0.7911 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.6659, allocations: 57 kB / 0.7912 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003953/0.6663, allocations: 198.2 kB / 0.7914 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.6668, allocations: 218.9 kB / 0.7916 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.6669, allocations: 38.34 kB / 0.7916 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/0.6677, allocations: 252 kB / 0.7919 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.6679, allocations: 154.2 kB / 0.792 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.6683, allocations: 216.4 kB / 0.7922 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.6695, allocations: 0.7567 MB / 0.7929 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6696, allocations: 1.719 kB / 0.7929 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6696, allocations: 0 / 0.7929 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.6696, allocations: 0 / 0.7929 GB, free: 46.74 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002272/0.6719, allocations: 0.8358 MB / 0.7938 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.672, allocations: 7.969 kB / 0.7938 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.6761, allocations: 236.5 kB / 0.794 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.677, allocations: 424.5 kB / 0.7944 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.6772, allocations: 81.3 kB / 0.7945 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.6773, allocations: 21.72 kB / 0.7945 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.6796, allocations: 0.5265 MB / 0.795 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6797, allocations: 9.641 kB / 0.795 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.6797, allocations: 3.375 kB / 0.795 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6798, allocations: 3.594 kB / 0.795 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.6836, allocations: 0.756 MB / 0.7958 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.6874, allocations: 1.262 MB / 0.797 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009872/0.6973, allocations: 1.014 MB / 0.798 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.6996, allocations: 400.8 kB / 0.7984 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.6996, allocations: 3.938 kB / 0.7984 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002593/0.7023, allocations: 0.5387 MB / 0.7989 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 4.027e-06/0.7023, allocations: 0 / 0.7989 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.006493/0.7088, allocations: 1.176 MB / 0.8 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7089, allocations: 55.59 kB / 0.8001 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.7101, allocations: 0.5207 MB / 0.8006 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7103, allocations: 37.84 kB / 0.8006 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.7105, allocations: 200.8 kB / 0.8008 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.7107, allocations: 63 kB / 0.8009 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.711, allocations: 64.97 kB / 0.801 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7111, allocations: 357.6 kB / 0.8013 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.7133, allocations: 466.8 kB / 0.8017 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.7157, allocations: 0.5027 MB / 0.8022 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.7195, allocations: 0.753 MB / 0.803 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7196, allocations: 0 / 0.803 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.005014/0.7246, allocations: 1.089 MB / 0.804 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.7247, allocations: 44.5 kB / 0.8041 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7247, allocations: 4.594 kB / 0.8041 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.7248, allocations: 0 / 0.8041 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.726, allocations: 91.14 kB / 0.8042 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.726, allocations: 1.797 kB / 0.8042 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.7271, allocations: 69.08 kB / 0.8042 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/0.7272, allocations: 18.28 kB / 0.8043 GB, free: 43.08 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.000487/0.7277, allocations: 214.9 kB / 0.8045 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.7279, allocations: 43.97 kB / 0.8045 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.7281, allocations: 56.38 kB / 0.8046 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.7281, allocations: 1.469 kB / 0.8046 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7282, allocations: 0.5625 kB / 0.8046 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.7286, allocations: 191.5 kB / 0.8047 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.7288, allocations: 8.484 kB / 0.8047 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.7299, allocations: 63.48 kB / 0.8048 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.73, allocations: 24.44 kB / 0.8048 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005074/0.7351, allocations: 0.9122 MB / 0.8057 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003925/0.7391, allocations: 0.9836 MB / 0.8067 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001893/0.741, allocations: 407.8 kB / 0.8071 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008224/0.7418, allocations: 393.3 kB / 0.8074 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of Backend: time 8.32e-07/0.7419, allocations: 0.7812 kB / 0.8074 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003292/0.7452, allocations: 0.7039 MB / 0.8081 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001398/0.7466, allocations: 1.187 MB / 0.8093 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.02184/0.7684, allocations: 10.89 MB / 0.8199 GB, free: 39.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)