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.00128/0.00128, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.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.764/1.764, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001492/0.001493, allocations: 81.58 kB / 0.6723 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2915, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.007353/0.2989, allocations: 2.887 MB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005729/0.3047, allocations: 2.252 MB / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3049, allocations: 4 kB / 0.7892 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.3062, allocations: 254.6 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3065, allocations: 83.22 kB / 0.7895 GB, free: 7.215 MB / 0.6075 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.002205/0.3087, allocations: 492.1 kB / 0.79 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00091/0.3096, allocations: 0.5025 MB / 0.7905 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3099, allocations: 52.72 kB / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.3102, allocations: 199.5 kB / 0.7907 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004504/0.3107, allocations: 215.2 kB / 0.7909 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3108, allocations: 40 kB / 0.7909 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.3116, allocations: 251.7 kB / 0.7912 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.3119, allocations: 155.6 kB / 0.7913 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.3122, allocations: 214.9 kB / 0.7915 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3135, allocations: 0.7518 MB / 0.7923 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3135, allocations: 0 / 0.7923 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3135, allocations: 3.938 kB / 0.7923 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3136, allocations: 3.938 kB / 0.7923 GB, free: 4.367 MB / 0.6075 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.001867/0.3154, allocations: 0.836 MB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3155, allocations: 12.03 kB / 0.7931 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.3177, allocations: 232.1 kB / 0.7933 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.3183, allocations: 426 kB / 0.7937 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.3185, allocations: 79.94 kB / 0.7938 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.3185, allocations: 15.94 kB / 0.7938 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3199, allocations: 0.54 MB / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3199, allocations: 0 / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.3199, allocations: 4 kB / 0.7944 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.32, allocations: 4 kB / 0.7944 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.322, allocations: 0.7533 MB / 0.7951 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.3245, allocations: 1.28 MB / 0.7963 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.3297, allocations: 1.021 MB / 0.7973 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.3307, allocations: 396.6 kB / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3308, allocations: 0 / 0.7977 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.3321, allocations: 0.534 MB / 0.7982 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.796e-06/0.3322, allocations: 3.938 kB / 0.7982 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003338/0.3355, allocations: 1.183 MB / 0.7994 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3356, allocations: 55.41 kB / 0.7995 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/0.3362, allocations: 0.5175 MB / 0.8 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.3363, allocations: 33.7 kB / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3365, allocations: 204.4 kB / 0.8002 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.3366, allocations: 67.09 kB / 0.8002 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3368, allocations: 65.66 kB / 0.8003 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.337, allocations: 354.8 kB / 0.8007 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.3382, allocations: 476.5 kB / 0.8011 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3393, allocations: 0.4964 MB / 0.8016 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.3413, allocations: 0.752 MB / 0.8023 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3414, allocations: 4 kB / 0.8023 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002651/0.344, allocations: 1.086 MB / 0.8034 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.3441, allocations: 42.56 kB / 0.8034 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3441, allocations: 3.984 kB / 0.8034 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3441, allocations: 4 kB / 0.8034 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.3448, allocations: 99.81 kB / 0.8035 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3448, allocations: 0 / 0.8035 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.3454, allocations: 63.78 kB / 0.8036 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.3455, allocations: 11.98 kB / 0.8036 GB, free: 8.492 MB / 0.6231 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.0003248/0.3458, allocations: 209.8 kB / 0.8038 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3459, allocations: 47.45 kB / 0.8038 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.346, allocations: 51.92 kB / 0.8039 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.346, allocations: 0 / 0.8039 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.346, allocations: 7.875 kB / 0.8039 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.346, allocations: 3.984 kB / 0.8039 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.3468, allocations: 0.6455 MB / 0.8045 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3468, allocations: 4 kB / 0.8045 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.3474, allocations: 87.83 kB / 0.8046 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3474, allocations: 0 / 0.8046 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.3475, allocations: 15.98 kB / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3475, allocations: 0 / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3475, allocations: 0 / 0.8046 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.3496, allocations: 0.8397 MB / 0.8055 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/0.3499, allocations: 188.4 kB / 0.8056 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.35, allocations: 8 kB / 0.8057 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005617/0.3506, allocations: 59.92 kB / 0.8057 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3507, allocations: 27.95 kB / 0.8057 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.3507, allocations: 15.98 kB / 0.8057 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004416/0.3512, allocations: 391.1 kB / 0.8061 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3512, allocations: 0 / 0.8061 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000432/0.3516, allocations: 99.91 kB / 0.8062 GB, free: 5.711 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005287/0.3522, allocations: 163.8 kB / 0.8064 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002473/0.3546, allocations: 0.9469 MB / 0.8073 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3547, allocations: 0 / 0.8073 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3558, allocations: 419.6 kB / 0.8077 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.3563, allocations: 89.8 kB / 0.8078 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3589, allocations: 1.052 MB / 0.8088 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3594, allocations: 0.8542 MB / 0.8096 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004674/0.3598, allocations: 134.9 kB / 0.8098 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.36, allocations: 43.41 kB / 0.8098 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.36, allocations: 0 / 0.8098 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of Templates: time 0.01625/0.3763, allocations: 8.805 MB / 0.8184 GB, free: 9.285 MB / 0.6387 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)