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.001403/0.001403, allocations: 108 kB / 16.36 MB, free: 5.961 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.001509/0.001509, allocations: 194.7 kB / 17.3 MB, free: 5.574 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.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001432/0.001432, allocations: 71.03 kB / 0.6729 GB, free: 5.789 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2174, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004019/0.2215, allocations: 2.36 MB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3511/0.5726, allocations: 1.852 MB / 0.7889 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.5728, allocations: 0 / 0.7889 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.5734, allocations: 221.4 kB / 0.7891 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.5736, allocations: 64.06 kB / 0.7892 GB, free: 46.75 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.0009102/0.5745, allocations: 423.9 kB / 0.7896 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.5749, allocations: 408.2 kB / 0.79 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.575, allocations: 41.55 kB / 0.79 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.5751, allocations: 161.4 kB / 0.7902 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.5753, allocations: 151.9 kB / 0.7903 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.5754, allocations: 26.25 kB / 0.7903 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.5757, allocations: 245.7 kB / 0.7906 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.5759, allocations: 118.5 kB / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.576, allocations: 172.7 kB / 0.7909 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.5765, allocations: 0.6031 MB / 0.7914 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5765, allocations: 0 / 0.7914 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5765, allocations: 2.625 kB / 0.7914 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5766, allocations: 0 / 0.7914 GB, free: 46.57 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.000975/0.5775, allocations: 0.6996 MB / 0.7921 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.5776, allocations: 9.75 kB / 0.7921 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.5792, allocations: 162.2 kB / 0.7923 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.5796, allocations: 372.9 kB / 0.7927 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.398e-05/0.5797, allocations: 76.62 kB / 0.7927 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.5798, allocations: 14.98 kB / 0.7927 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008964/0.5807, allocations: 434.9 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.5807, allocations: 0 / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.5807, allocations: 3.375 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5807, allocations: 3.438 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.5821, allocations: 0.5864 MB / 0.7937 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.5837, allocations: 1.045 MB / 0.7948 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005002/0.5887, allocations: 0.8541 MB / 0.7956 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.5894, allocations: 312 kB / 0.7959 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.5895, allocations: 2.906 kB / 0.7959 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009144/0.5904, allocations: 442 kB / 0.7963 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.5904, allocations: 0 / 0.7963 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002369/0.5928, allocations: 0.9153 MB / 0.7972 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.5928, allocations: 62.92 kB / 0.7973 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.5934, allocations: 436.3 kB / 0.7977 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.5934, allocations: 33.38 kB / 0.7977 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5936, allocations: 170.4 kB / 0.7979 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.5936, allocations: 47.69 kB / 0.7979 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5938, allocations: 54.77 kB / 0.798 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.636e-05/0.5939, allocations: 348.8 kB / 0.7983 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.5948, allocations: 382.9 kB / 0.7987 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/0.5957, allocations: 374.2 kB / 0.799 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.5972, allocations: 0.5957 MB / 0.7996 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5972, allocations: 0 / 0.7996 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002171/0.5993, allocations: 0.9112 MB / 0.8005 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.5994, allocations: 41.73 kB / 0.8005 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5994, allocations: 0.9375 kB / 0.8005 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5994, allocations: 1.156 kB / 0.8005 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.5999, allocations: 67.91 kB / 0.8006 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.5999, allocations: 1.25 kB / 0.8006 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.6003, allocations: 53.91 kB / 0.8007 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.6004, allocations: 12.89 kB / 0.8007 GB, free: 43.96 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.0002359/0.6006, allocations: 190.2 kB / 0.8009 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.6007, allocations: 31.64 kB / 0.8009 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.264e-05/0.6008, allocations: 45.73 kB / 0.8009 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6008, allocations: 1.938 kB / 0.8009 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/0.6008, allocations: 2.047 kB / 0.8009 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.6008, allocations: 4.453 kB / 0.8009 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006177/0.6014, allocations: 0.5336 MB / 0.8015 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6015, allocations: 0.7188 kB / 0.8015 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.6019, allocations: 70.97 kB / 0.8015 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.602, allocations: 2.031 kB / 0.8015 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.602, allocations: 7.781 kB / 0.8015 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.602, allocations: 1.25 kB / 0.8015 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.602, allocations: 0 / 0.8015 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.6037, allocations: 0.6596 MB / 0.8022 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002255/0.6039, allocations: 172 kB / 0.8023 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.604, allocations: 8.188 kB / 0.8023 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.6044, allocations: 48.58 kB / 0.8024 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.6045, allocations: 22.47 kB / 0.8024 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.6046, allocations: 9.906 kB / 0.8024 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000374/0.605, allocations: 322.3 kB / 0.8027 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.605, allocations: 0 / 0.8027 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003937/0.6054, allocations: 82.39 kB / 0.8028 GB, free: 42.91 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.0003779/0.6057, allocations: 163 kB / 0.803 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.6076, allocations: 0.7594 MB / 0.8037 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6076, allocations: 1.219 kB / 0.8037 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007957/0.6084, allocations: 328.7 kB / 0.804 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.6088, allocations: 82.05 kB / 0.8041 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.6105, allocations: 0.8131 MB / 0.8049 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.6108, allocations: 0.8119 MB / 0.8057 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003458/0.6111, allocations: 98.56 kB / 0.8058 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.6113, allocations: 36.14 kB / 0.8058 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.6113, allocations: 1.062 kB / 0.8058 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.01393/0.6252, allocations: 7.167 MB / 0.8128 GB, free: 40.99 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)