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.007348/0.007349, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001246/0.001246, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.565/1.565, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6341/0.6341, allocations: 95.48 MB / 365.4 MB, free: 9.773 MB / 302.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.001548/0.001548, allocations: 83.88 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.18, allocations: 69.08 MB / 0.5711 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.003861/0.184, allocations: 2.102 MB / 0.5732 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1877, allocations: 1.984 MB / 0.5751 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1879, allocations: 0 / 0.5751 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.1888, allocations: 226.7 kB / 0.5753 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.189, allocations: 63.42 kB / 0.5754 GB, free: 3.891 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.001386/0.1904, allocations: 468.8 kB / 0.5758 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005368/0.1909, allocations: 398.8 kB / 0.5762 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1911, allocations: 32.39 kB / 0.5763 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1913, allocations: 155.6 kB / 0.5764 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1916, allocations: 151.4 kB / 0.5765 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.1916, allocations: 28 kB / 0.5766 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.1921, allocations: 311.6 kB / 0.5769 GB, free: 2.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.1923, allocations: 115.7 kB / 0.577 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.1925, allocations: 163.2 kB / 0.5771 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.1933, allocations: 0.6115 MB / 0.5777 GB, free: 1.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1934, allocations: 0 / 0.5777 GB, free: 1.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1934, allocations: 0 / 0.5777 GB, free: 1.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.1934, allocations: 4 kB / 0.5777 GB, free: 1.488 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.001382/0.1948, allocations: 0.7101 MB / 0.5784 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.1948, allocations: 11.98 kB / 0.5784 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.1955, allocations: 72.42 kB / 0.5785 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.1961, allocations: 341.6 kB / 0.5788 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.1962, allocations: 45.69 kB / 0.5789 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.1962, allocations: 19.88 kB / 0.5789 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/0.1968, allocations: 257.5 kB / 0.5791 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1969, allocations: 0 / 0.5791 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1969, allocations: 3.984 kB / 0.5791 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.1969, allocations: 0 / 0.5791 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.1977, allocations: 287.7 kB / 0.5794 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1988, allocations: 0.6954 MB / 0.5801 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.1996, allocations: 249.6 kB / 0.5803 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.2, allocations: 156.7 kB / 0.5805 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2, allocations: 0 / 0.5805 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.2006, allocations: 271.1 kB / 0.5807 GB, free: 14.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.674e-06/0.2006, allocations: 0 / 0.5807 GB, free: 14.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001345/0.202, allocations: 0.4932 MB / 0.5812 GB, free: 13.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.2021, allocations: 55.41 kB / 0.5813 GB, free: 13.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004649/0.2025, allocations: 429.6 kB / 0.5817 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.68e-05/0.2026, allocations: 37.64 kB / 0.5817 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2027, allocations: 172 kB / 0.5819 GB, free: 13.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.2028, allocations: 59.28 kB / 0.5819 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.2029, allocations: 45.7 kB / 0.582 GB, free: 12.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2031, allocations: 346.8 kB / 0.5823 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.2036, allocations: 220.7 kB / 0.5825 GB, free: 12.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.2041, allocations: 219.1 kB / 0.5827 GB, free: 12.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.2049, allocations: 386.2 kB / 0.5831 GB, free: 11.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2049, allocations: 0 / 0.5831 GB, free: 11.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001164/0.2061, allocations: 0.6392 MB / 0.5837 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/0.2061, allocations: 52.22 kB / 0.5838 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2061, allocations: 0 / 0.5838 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2062, allocations: 4 kB / 0.5838 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.2064, allocations: 43.89 kB / 0.5838 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2064, allocations: 4 kB / 0.5838 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2067, allocations: 27.88 kB / 0.5839 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.2067, allocations: 11.98 kB / 0.5839 GB, free: 10.94 MB / 462.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.0002057/0.2069, allocations: 181.8 kB / 0.584 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.207, allocations: 39.55 kB / 0.5841 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.894e-05/0.2071, allocations: 39.47 kB / 0.5841 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2071, allocations: 4 kB / 0.5841 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2071, allocations: 4 kB / 0.5841 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2071, allocations: 0 / 0.5841 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.2075, allocations: 397.2 kB / 0.5845 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2075, allocations: 0 / 0.5845 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2078, allocations: 43.89 kB / 0.5846 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2078, allocations: 7.938 kB / 0.5846 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2078, allocations: 0 / 0.5846 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2078, allocations: 4 kB / 0.5846 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2078, allocations: 0 / 0.5846 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.2087, allocations: 400 kB / 0.5849 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.2088, allocations: 116.6 kB / 0.5851 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.2089, allocations: 7.984 kB / 0.5851 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.2091, allocations: 39.95 kB / 0.5851 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.2092, allocations: 15.98 kB / 0.5851 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2093, allocations: 7.984 kB / 0.5851 GB, free: 9.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.2096, allocations: 319.1 kB / 0.5854 GB, free: 9.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2096, allocations: 0 / 0.5854 GB, free: 9.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.21, allocations: 76.25 kB / 0.5855 GB, free: 9.188 MB / 462.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.0004863/0.2105, allocations: 181 kB / 0.5857 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2115, allocations: 463 kB / 0.5861 GB, free: 8.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2115, allocations: 4 kB / 0.5861 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.2119, allocations: 159.9 kB / 0.5863 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2123, allocations: 77.39 kB / 0.5863 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2136, allocations: 0.6292 MB / 0.587 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.214, allocations: 0.8104 MB / 0.5878 GB, free: 6.812 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.2142, allocations: 66.25 kB / 0.5878 GB, free: 6.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.2143, allocations: 23.44 kB / 0.5878 GB, free: 6.723 MB / 462.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2143, allocations: 0 / 0.5878 GB, free: 6.723 MB / 462.1 MB Notification: Performance of Templates: time 0.0118/0.2261, allocations: 6.477 MB / 0.5942 GB, free: 328 kB / 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)