Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01191/0.01191, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002397/0.002397, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5137/0.5137, allocations: 95.48 MB / 365.4 MB, free: 12.17 MB / 318.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.89 kB / 0.5037 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4756, allocations: 69.1 MB / 0.5711 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.004592/0.4802, allocations: 2.1 MB / 0.5732 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.4834, allocations: 1.973 MB / 0.5751 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.4836, allocations: 4 kB / 0.5751 GB, free: 32 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008619/0.4846, allocations: 226.3 kB / 0.5753 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.4847, allocations: 55.44 kB / 0.5754 GB, free: 15.76 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-43: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.001543/0.4863, allocations: 470.1 kB / 0.5758 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.4868, allocations: 398.8 kB / 0.5762 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.487, allocations: 40.38 kB / 0.5763 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.4871, allocations: 151.6 kB / 0.5764 GB, free: 14.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.4874, allocations: 155.4 kB / 0.5765 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.4874, allocations: 28 kB / 0.5766 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.4879, allocations: 307.6 kB / 0.5769 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.4881, allocations: 111.7 kB / 0.577 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.4883, allocations: 171.1 kB / 0.5771 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.489, allocations: 0.6138 MB / 0.5777 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.489, allocations: 0 / 0.5777 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.489, allocations: 0 / 0.5777 GB, free: 13.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.489, allocations: 0 / 0.5777 GB, free: 13.35 MB / 446.1 MB 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.001358/0.4904, allocations: 0.71 MB / 0.5784 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.4905, allocations: 19.98 kB / 0.5785 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006236/0.4911, allocations: 64.44 kB / 0.5785 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.4916, allocations: 353.5 kB / 0.5788 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.198e-05/0.4917, allocations: 41.69 kB / 0.5789 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.4917, allocations: 8 kB / 0.5789 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.4923, allocations: 261.2 kB / 0.5791 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4923, allocations: 4 kB / 0.5791 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.4923, allocations: 0 / 0.5791 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.4923, allocations: 4 kB / 0.5792 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.493, allocations: 283.7 kB / 0.5794 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4942, allocations: 0.6955 MB / 0.5801 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.4949, allocations: 238.5 kB / 0.5803 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.4953, allocations: 156.7 kB / 0.5805 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.4953, allocations: 7.984 kB / 0.5805 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.4959, allocations: 279 kB / 0.5808 GB, free: 10.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.4959, allocations: 4 kB / 0.5808 GB, free: 10.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001274/0.4972, allocations: 496.9 kB / 0.5812 GB, free: 9.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.4973, allocations: 59.41 kB / 0.5813 GB, free: 9.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.4978, allocations: 425.6 kB / 0.5817 GB, free: 9.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4978, allocations: 33.7 kB / 0.5817 GB, free: 9.055 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.498, allocations: 183.9 kB / 0.5819 GB, free: 8.871 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.498, allocations: 51.3 kB / 0.582 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.4981, allocations: 41.7 kB / 0.582 GB, free: 8.773 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4983, allocations: 350.8 kB / 0.5823 GB, free: 8.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.4988, allocations: 224.7 kB / 0.5825 GB, free: 8.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.4992, allocations: 215.8 kB / 0.5827 GB, free: 7.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.5, allocations: 386.3 kB / 0.5831 GB, free: 7.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5, allocations: 0 / 0.5831 GB, free: 7.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001133/0.5011, allocations: 0.6389 MB / 0.5837 GB, free: 6.953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-05/0.5012, allocations: 49.62 kB / 0.5838 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.629e-06/0.5012, allocations: 3.984 kB / 0.5838 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.5012, allocations: 3.938 kB / 0.5838 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5015, allocations: 39.95 kB / 0.5838 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5015, allocations: 0 / 0.5838 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5017, allocations: 35.81 kB / 0.5839 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.5017, allocations: 4 kB / 0.5839 GB, free: 6.812 MB / 446.1 MB 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.000219/0.502, allocations: 193.6 kB / 0.5841 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.502, allocations: 43.44 kB / 0.5841 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.081e-05/0.5021, allocations: 47.45 kB / 0.5841 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5021, allocations: 0 / 0.5841 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5021, allocations: 0 / 0.5841 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5021, allocations: 0 / 0.5841 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.5025, allocations: 397.3 kB / 0.5845 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5026, allocations: 0 / 0.5845 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.5028, allocations: 47.95 kB / 0.5846 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5028, allocations: 3.938 kB / 0.5846 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.5028, allocations: 4 kB / 0.5846 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5028, allocations: 0 / 0.5846 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5028, allocations: 0 / 0.5846 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.5037, allocations: 396.4 kB / 0.5849 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5038, allocations: 124.5 kB / 0.5851 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.5038, allocations: 7.984 kB / 0.5851 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5041, allocations: 31.95 kB / 0.5851 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.5042, allocations: 15.98 kB / 0.5851 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.5042, allocations: 7.984 kB / 0.5851 GB, free: 5.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.5046, allocations: 319.1 kB / 0.5854 GB, free: 5.121 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5046, allocations: 0 / 0.5854 GB, free: 5.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.505, allocations: 84.14 kB / 0.5855 GB, free: 5.039 MB / 446.1 MB 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.0005652/0.5056, allocations: 163.3 kB / 0.5857 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5066, allocations: 459 kB / 0.5861 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5067, allocations: 0 / 0.5861 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.5071, allocations: 163.8 kB / 0.5863 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.5075, allocations: 81.38 kB / 0.5863 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.5088, allocations: 0.637 MB / 0.587 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.5093, allocations: 0.8065 MB / 0.5878 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.5095, allocations: 74.25 kB / 0.5878 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.5096, allocations: 19.44 kB / 0.5878 GB, free: 2.59 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5096, allocations: 3.938 kB / 0.5878 GB, free: 2.586 MB / 446.1 MB Notification: Performance of Templates: time 0.0148/0.5244, allocations: 6.477 MB / 0.5942 GB, free: 12.18 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity.pipe 2>&1)