Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 104.2 kB / 16.29 MB, free: 6.012 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.001327/0.001327, allocations: 185.2 kB / 17.22 MB, free: 5.621 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.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001486/0.001486, allocations: 71.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2146, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003387/0.218, allocations: 2.353 MB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3432/0.5612, allocations: 1.855 MB / 0.7882 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.5614, allocations: 2.906 kB / 0.7882 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.5621, allocations: 221 kB / 0.7884 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.5622, allocations: 59.19 kB / 0.7885 GB, free: 46.85 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.00108/0.5633, allocations: 425.9 kB / 0.7889 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.5637, allocations: 410.1 kB / 0.7893 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.5638, allocations: 37.03 kB / 0.7893 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.564, allocations: 163.8 kB / 0.7895 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.5642, allocations: 151 kB / 0.7896 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.5642, allocations: 28.88 kB / 0.7896 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.5646, allocations: 244.7 kB / 0.7899 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.5647, allocations: 117.7 kB / 0.79 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5649, allocations: 163.5 kB / 0.7901 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.5654, allocations: 0.6113 MB / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5654, allocations: 0 / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5654, allocations: 2.406 kB / 0.7907 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5654, allocations: 0 / 0.7907 GB, free: 46.7 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009534/0.5664, allocations: 0.7061 MB / 0.7914 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5664, allocations: 13.59 kB / 0.7914 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.568, allocations: 159.8 kB / 0.7916 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.5684, allocations: 366.2 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.5685, allocations: 75.19 kB / 0.792 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.5685, allocations: 10.25 kB / 0.792 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008691/0.5694, allocations: 442.6 kB / 0.7924 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5695, allocations: 1.062 kB / 0.7924 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.5695, allocations: 5.391 kB / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5695, allocations: 0.5 kB / 0.7925 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.5708, allocations: 0.5829 MB / 0.793 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.5724, allocations: 1.045 MB / 0.794 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/0.577, allocations: 0.8452 MB / 0.7949 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007175/0.5778, allocations: 313.1 kB / 0.7952 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.5778, allocations: 2.438 kB / 0.7952 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009274/0.5787, allocations: 451.2 kB / 0.7956 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 4.167e-06/0.5788, allocations: 0 / 0.7956 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002162/0.5809, allocations: 0.9137 MB / 0.7965 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.581, allocations: 58.58 kB / 0.7965 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.5814, allocations: 435.1 kB / 0.797 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.5815, allocations: 34.11 kB / 0.797 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5816, allocations: 173.7 kB / 0.7972 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.5817, allocations: 43.86 kB / 0.7972 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.5818, allocations: 54.64 kB / 0.7973 GB, free: 45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.5819, allocations: 351.8 kB / 0.7976 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007955/0.5827, allocations: 379.2 kB / 0.7979 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.5835, allocations: 373.5 kB / 0.7983 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.5849, allocations: 0.6015 MB / 0.7989 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5849, allocations: 0 / 0.7989 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001934/0.5868, allocations: 0.9073 MB / 0.7998 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.5869, allocations: 39.83 kB / 0.7998 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5869, allocations: 5.516 kB / 0.7998 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5869, allocations: 1.281 kB / 0.7998 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.5874, allocations: 65.02 kB / 0.7999 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5874, allocations: 0.5156 kB / 0.7999 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.5878, allocations: 56 kB / 0.7999 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.5879, allocations: 10.8 kB / 0.8 GB, free: 44.04 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 (17): * Single equations (assignments): 16 * 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.0002482/0.5881, allocations: 188.2 kB / 0.8001 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.5882, allocations: 32.34 kB / 0.8002 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.5883, allocations: 41.91 kB / 0.8002 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5883, allocations: 6.469 kB / 0.8002 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5883, allocations: 4.562 kB / 0.8002 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5883, allocations: 6.297 kB / 0.8002 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005739/0.5889, allocations: 0.5341 MB / 0.8007 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.5889, allocations: 0 / 0.8007 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.5893, allocations: 69.84 kB / 0.8008 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.5894, allocations: 1.625 kB / 0.8008 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5894, allocations: 14.05 kB / 0.8008 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5894, allocations: 1.734 kB / 0.8008 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5894, allocations: 0 / 0.8008 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.591, allocations: 0.6577 MB / 0.8015 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5912, allocations: 171.8 kB / 0.8016 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.154e-05/0.5913, allocations: 6.109 kB / 0.8016 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/0.5917, allocations: 49.3 kB / 0.8017 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.5918, allocations: 18.33 kB / 0.8017 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/0.5918, allocations: 14.84 kB / 0.8017 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003776/0.5922, allocations: 320.2 kB / 0.802 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5922, allocations: 0.5312 kB / 0.802 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004038/0.5926, allocations: 80.94 kB / 0.8021 GB, free: 42.98 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 (16): * Single equations (assignments): 14 * 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.0003688/0.593, allocations: 161.9 kB / 0.8022 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.5947, allocations: 0.7633 MB / 0.803 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5947, allocations: 0 / 0.803 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.5955, allocations: 327.5 kB / 0.8033 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.5959, allocations: 78.02 kB / 0.8034 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.5975, allocations: 0.8225 MB / 0.8042 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.5978, allocations: 0.813 MB / 0.805 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003571/0.5982, allocations: 99.58 kB / 0.8051 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.5984, allocations: 36.42 kB / 0.8051 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.5984, allocations: 0 / 0.8051 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.01474/0.6131, allocations: 7.164 MB / 0.8121 GB, free: 41.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)