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.001225/0.001225, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001201/0.001201, allocations: 184 kB / 17.22 MB, free: 5.934 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.359/1.359, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.837/1.837, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001517/0.001517, allocations: 63.91 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.252, allocations: 114.5 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005002/0.257, allocations: 2.902 MB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4675/0.7246, allocations: 2.244 MB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.7248, allocations: 2.625 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.7258, allocations: 258.5 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.726, allocations: 75.22 kB / 0.7894 GB, free: 46.52 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.001389/0.7274, allocations: 487.8 kB / 0.7899 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.728, allocations: 0.507 MB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.7281, allocations: 66.16 kB / 0.7905 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.7284, allocations: 195.4 kB / 0.7906 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.7287, allocations: 206.4 kB / 0.7908 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.067e-05/0.7288, allocations: 38.62 kB / 0.7909 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.7292, allocations: 260.3 kB / 0.7911 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.7294, allocations: 149.5 kB / 0.7913 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.7296, allocations: 214.8 kB / 0.7915 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008235/0.7304, allocations: 0.76 MB / 0.7922 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7304, allocations: 2.625 kB / 0.7922 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7304, allocations: 0 / 0.7922 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.7304, allocations: 0 / 0.7922 GB, free: 46.29 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.00135/0.7318, allocations: 0.8342 MB / 0.793 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7318, allocations: 14.69 kB / 0.793 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.7338, allocations: 228.1 kB / 0.7933 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.7343, allocations: 428.8 kB / 0.7937 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.7344, allocations: 79.42 kB / 0.7938 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.7345, allocations: 18.22 kB / 0.7938 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.7356, allocations: 0.5329 MB / 0.7943 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7357, allocations: 0 / 0.7943 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.7357, allocations: 0.5625 kB / 0.7943 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.7357, allocations: 3.375 kB / 0.7943 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.7375, allocations: 0.7651 MB / 0.795 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.7396, allocations: 1.259 MB / 0.7963 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005017/0.7446, allocations: 1.021 MB / 0.7973 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.7456, allocations: 394 kB / 0.7976 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.7457, allocations: 2.703 kB / 0.7976 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.7469, allocations: 0.535 MB / 0.7982 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.795e-06/0.7469, allocations: 0 / 0.7982 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.003188/0.7501, allocations: 1.178 MB / 0.7993 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.7502, allocations: 63.69 kB / 0.7994 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/0.751, allocations: 0.5179 MB / 0.7999 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.7511, allocations: 35.58 kB / 0.7999 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.7513, allocations: 199.5 kB / 0.8001 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.7513, allocations: 69.94 kB / 0.8002 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.7515, allocations: 64.16 kB / 0.8002 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.7517, allocations: 358.5 kB / 0.8006 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.7528, allocations: 468.5 kB / 0.801 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7541, allocations: 0.4995 MB / 0.8015 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.7563, allocations: 0.7533 MB / 0.8022 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7563, allocations: 4 kB / 0.8023 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002846/0.7592, allocations: 1.083 MB / 0.8033 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.7592, allocations: 52.67 kB / 0.8034 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.7593, allocations: 1.344 kB / 0.8034 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.7593, allocations: 2.531 kB / 0.8034 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.7599, allocations: 87.7 kB / 0.8034 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7599, allocations: 1.344 kB / 0.8034 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.7605, allocations: 62.23 kB / 0.8035 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.7606, allocations: 22.12 kB / 0.8035 GB, free: 42.82 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.0004451/0.761, allocations: 211.5 kB / 0.8037 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.7611, allocations: 46.8 kB / 0.8038 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.7612, allocations: 47.5 kB / 0.8038 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.7613, allocations: 3.188 kB / 0.8038 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7613, allocations: 2.375 kB / 0.8038 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7613, allocations: 1.453 kB / 0.8038 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.762, allocations: 0.6454 MB / 0.8045 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.762, allocations: 0.7188 kB / 0.8045 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.7626, allocations: 94.89 kB / 0.8045 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.7626, allocations: 5.344 kB / 0.8046 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.7627, allocations: 8.672 kB / 0.8046 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7627, allocations: 5.578 kB / 0.8046 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7627, allocations: 0 / 0.8046 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.765, allocations: 0.8374 MB / 0.8054 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.7653, allocations: 187.9 kB / 0.8056 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.7654, allocations: 12.77 kB / 0.8056 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005658/0.766, allocations: 63.05 kB / 0.8056 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7661, allocations: 22.69 kB / 0.8057 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.7661, allocations: 10.72 kB / 0.8057 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007045/0.7669, allocations: 391.3 kB / 0.806 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7669, allocations: 2.062 kB / 0.806 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006854/0.7676, allocations: 110 kB / 0.8061 GB, free: 41.62 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.0006221/0.7682, allocations: 155.1 kB / 0.8063 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.7711, allocations: 0.9368 MB / 0.8072 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7711, allocations: 0 / 0.8072 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.7722, allocations: 423.5 kB / 0.8076 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.7728, allocations: 93.89 kB / 0.8077 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.7758, allocations: 1.063 MB / 0.8087 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.7765, allocations: 0.8569 MB / 0.8096 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000615/0.7771, allocations: 133.6 kB / 0.8097 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.7774, allocations: 43.25 kB / 0.8097 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of SimCode: time 2.485e-06/0.7774, allocations: 0 / 0.8097 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.02367/0.8011, allocations: 8.811 MB / 0.8184 GB, free: 39.43 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)