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.001439/0.001439, allocations: 111.5 kB / 16.36 MB, free: 6.457 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.001574/0.001574, allocations: 193.7 kB / 17.3 MB, free: 5.812 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001545/0.001546, allocations: 78.23 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2179, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00433/0.2223, allocations: 2.901 MB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3542/0.5766, allocations: 2.242 MB / 0.7898 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.5768, allocations: 2.906 kB / 0.7898 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.5775, allocations: 263.8 kB / 0.7901 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.5777, allocations: 74.19 kB / 0.7901 GB, free: 46.96 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.001113/0.5788, allocations: 485.8 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.5793, allocations: 0.509 MB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5794, allocations: 53.23 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.5796, allocations: 206.9 kB / 0.7914 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.5798, allocations: 206 kB / 0.7916 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.848e-05/0.5799, allocations: 39.12 kB / 0.7916 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.5803, allocations: 260.5 kB / 0.7918 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.5804, allocations: 155.9 kB / 0.792 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.5806, allocations: 209.8 kB / 0.7922 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.5812, allocations: 0.7573 MB / 0.7929 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5812, allocations: 0.7031 kB / 0.7929 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5812, allocations: 3.344 kB / 0.7929 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.5813, allocations: 2.188 kB / 0.7929 GB, free: 46.61 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.001214/0.5825, allocations: 0.828 MB / 0.7937 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.5825, allocations: 10.33 kB / 0.7937 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.5846, allocations: 237.9 kB / 0.794 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.5852, allocations: 429.5 kB / 0.7944 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5853, allocations: 83.5 kB / 0.7945 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.5854, allocations: 14.06 kB / 0.7945 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.5865, allocations: 0.5277 MB / 0.795 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5866, allocations: 1.688 kB / 0.795 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.5866, allocations: 6.812 kB / 0.795 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5866, allocations: 9.859 kB / 0.795 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.5886, allocations: 0.756 MB / 0.7957 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.5907, allocations: 1.265 MB / 0.797 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/0.5961, allocations: 1.014 MB / 0.798 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/0.5971, allocations: 397.5 kB / 0.7984 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.5971, allocations: 4.406 kB / 0.7984 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.5983, allocations: 0.5356 MB / 0.7989 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.5983, allocations: 0 / 0.7989 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.003214/0.6016, allocations: 1.176 MB / 0.8 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.6016, allocations: 55.75 kB / 0.8001 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006711/0.6023, allocations: 0.517 MB / 0.8006 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.6024, allocations: 35.64 kB / 0.8006 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.6025, allocations: 211.1 kB / 0.8008 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.6026, allocations: 69.36 kB / 0.8009 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.6028, allocations: 66.2 kB / 0.801 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.6029, allocations: 352.6 kB / 0.8013 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.6041, allocations: 468.6 kB / 0.8017 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.6053, allocations: 0.5043 MB / 0.8022 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.6074, allocations: 0.7523 MB / 0.803 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6074, allocations: 0 / 0.803 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002612/0.61, allocations: 1.089 MB / 0.804 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.6101, allocations: 44.83 kB / 0.8041 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6101, allocations: 0.9375 kB / 0.8041 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6101, allocations: 0.9688 kB / 0.8041 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.6108, allocations: 92.08 kB / 0.8042 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6108, allocations: 6.625 kB / 0.8042 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.6114, allocations: 65.48 kB / 0.8042 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.6114, allocations: 13.19 kB / 0.8042 GB, free: 42.95 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.0003249/0.6117, allocations: 213.8 kB / 0.8044 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.6118, allocations: 44.38 kB / 0.8045 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/0.6119, allocations: 51.56 kB / 0.8045 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.612, allocations: 2.766 kB / 0.8045 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.612, allocations: 2.719 kB / 0.8045 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.612, allocations: 3.938 kB / 0.8045 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.6128, allocations: 0.64 MB / 0.8052 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6128, allocations: 1.375 kB / 0.8052 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.6134, allocations: 89.23 kB / 0.8053 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.6134, allocations: 5.25 kB / 0.8053 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.6135, allocations: 16.92 kB / 0.8053 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6135, allocations: 0.6094 kB / 0.8053 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6135, allocations: 3.188 kB / 0.8053 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.6157, allocations: 0.8382 MB / 0.8061 GB, free: 42.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.616, allocations: 186.5 kB / 0.8063 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.6161, allocations: 10.55 kB / 0.8063 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.6167, allocations: 59.72 kB / 0.8063 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6168, allocations: 29.34 kB / 0.8064 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.6168, allocations: 13.08 kB / 0.8064 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005004/0.6173, allocations: 390.2 kB / 0.8068 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6173, allocations: 0 / 0.8068 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004679/0.6178, allocations: 105.9 kB / 0.8069 GB, free: 41.74 MB / 0.6544 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.0004015/0.6182, allocations: 156.1 kB / 0.807 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.6205, allocations: 0.9394 MB / 0.8079 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6205, allocations: 0 / 0.8079 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.6216, allocations: 428.3 kB / 0.8083 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.6221, allocations: 95 kB / 0.8084 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.6245, allocations: 1.059 MB / 0.8095 GB, free: 40.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.6249, allocations: 0.8565 MB / 0.8103 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004764/0.6254, allocations: 127.6 kB / 0.8104 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.6256, allocations: 42.31 kB / 0.8105 GB, free: 40 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.6256, allocations: 0 / 0.8105 GB, free: 40 MB / 0.6544 GB Notification: Performance of Templates: time 0.01873/0.6443, allocations: 8.807 MB / 0.8191 GB, free: 39.54 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)