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.007976/0.007976, allocations: 101.5 kB / 15.73 MB, free: 5.555 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.001706/0.001706, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.775/1.775, allocations: 205.1 MB / 222.6 MB, free: 4.457 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.6909/0.6909, allocations: 95.48 MB / 365.4 MB, free: 9.762 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.001511/0.001511, allocations: 78.08 kB / 0.5037 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1752, allocations: 69.09 MB / 0.5711 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacity): time 0.00341/0.1787, allocations: 2.109 MB / 0.5732 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00281/0.1815, allocations: 1.972 MB / 0.5751 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.1816, allocations: 4 kB / 0.5751 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007002/0.1823, allocations: 226.7 kB / 0.5753 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1825, allocations: 63.42 kB / 0.5754 GB, free: 3.883 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.001635/0.1841, allocations: 462.2 kB / 0.5758 GB, free: 3.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.1847, allocations: 406.8 kB / 0.5762 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1849, allocations: 40.39 kB / 0.5763 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1851, allocations: 151.6 kB / 0.5764 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1854, allocations: 147.5 kB / 0.5765 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.1855, allocations: 28 kB / 0.5766 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006982/0.1862, allocations: 311.5 kB / 0.5769 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.1865, allocations: 123.6 kB / 0.577 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.1867, allocations: 155.2 kB / 0.5771 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1878, allocations: 0.6228 MB / 0.5777 GB, free: 1.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1878, allocations: 4 kB / 0.5778 GB, free: 1.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1878, allocations: 0 / 0.5778 GB, free: 1.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1878, allocations: 0 / 0.5778 GB, free: 1.469 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.001655/0.1895, allocations: 0.7291 MB / 0.5785 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.1895, allocations: 11.98 kB / 0.5785 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000987/0.1905, allocations: 64.67 kB / 0.5785 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.1913, allocations: 349.8 kB / 0.5789 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1914, allocations: 49.62 kB / 0.5789 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.1915, allocations: 12 kB / 0.5789 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.1924, allocations: 249.5 kB / 0.5792 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.1925, allocations: 7.984 kB / 0.5792 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1925, allocations: 3.938 kB / 0.5792 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1925, allocations: 4 kB / 0.5792 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.1937, allocations: 283.7 kB / 0.5795 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.1955, allocations: 0.6995 MB / 0.5801 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1966, allocations: 242.5 kB / 0.5804 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.1972, allocations: 152.8 kB / 0.5805 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1973, allocations: 0 / 0.5805 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008323/0.1981, allocations: 274.8 kB / 0.5808 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 2.836e-06/0.1982, allocations: 3.938 kB / 0.5808 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001902/0.2001, allocations: 0.4932 MB / 0.5813 GB, free: 13.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.2002, allocations: 63.39 kB / 0.5813 GB, free: 13.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007326/0.2009, allocations: 433.6 kB / 0.5817 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.201, allocations: 29.7 kB / 0.5818 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2012, allocations: 172 kB / 0.5819 GB, free: 12.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.442e-05/0.2013, allocations: 47.59 kB / 0.582 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2014, allocations: 49.69 kB / 0.582 GB, free: 12.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2016, allocations: 338.8 kB / 0.5823 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.2023, allocations: 232.7 kB / 0.5826 GB, free: 12.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.203, allocations: 215.3 kB / 0.5828 GB, free: 12.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.2042, allocations: 390.2 kB / 0.5831 GB, free: 11.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2042, allocations: 0 / 0.5831 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001682/0.2059, allocations: 0.6317 MB / 0.5838 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.105e-05/0.206, allocations: 49.62 kB / 0.5838 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.206, allocations: 4 kB / 0.5838 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.206, allocations: 0 / 0.5838 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.2064, allocations: 47.83 kB / 0.5839 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2064, allocations: 4 kB / 0.5839 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.2067, allocations: 35.83 kB / 0.5839 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.2068, allocations: 8 kB / 0.5839 GB, free: 10.91 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.0003213/0.2071, allocations: 189.8 kB / 0.5841 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.2072, allocations: 39.7 kB / 0.5841 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.412e-05/0.2073, allocations: 39.47 kB / 0.5842 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2074, allocations: 4 kB / 0.5842 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.2074, allocations: 0 / 0.5842 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2074, allocations: 3.984 kB / 0.5842 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.208, allocations: 393.3 kB / 0.5845 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.208, allocations: 0 / 0.5845 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.2083, allocations: 43.89 kB / 0.5846 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2083, allocations: 11.94 kB / 0.5846 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.2084, allocations: 0 / 0.5846 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.2084, allocations: 4 kB / 0.5846 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2084, allocations: 0 / 0.5846 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.2096, allocations: 392.6 kB / 0.585 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2098, allocations: 120.8 kB / 0.5851 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.439e-05/0.2098, allocations: 4 kB / 0.5851 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2102, allocations: 31.95 kB / 0.5851 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.2104, allocations: 19.97 kB / 0.5851 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.2104, allocations: 4 kB / 0.5851 GB, free: 9.539 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005075/0.2109, allocations: 327.1 kB / 0.5855 GB, free: 9.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.043e-06/0.2109, allocations: 0 / 0.5855 GB, free: 9.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.2115, allocations: 87.8 kB / 0.5855 GB, free: 9.137 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.0006284/0.2121, allocations: 164.5 kB / 0.5857 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.2137, allocations: 467 kB / 0.5861 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2138, allocations: 0 / 0.5861 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.2144, allocations: 163.8 kB / 0.5863 GB, free: 8.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.215, allocations: 77.44 kB / 0.5864 GB, free: 8.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2168, allocations: 0.6432 MB / 0.587 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.2176, allocations: 0.8104 MB / 0.5878 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.218, allocations: 74.23 kB / 0.5879 GB, free: 6.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2181, allocations: 27.44 kB / 0.5879 GB, free: 6.664 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2182, allocations: 0 / 0.5879 GB, free: 6.664 MB / 462.1 MB Notification: Performance of Templates: time 0.02047/0.2386, allocations: 6.459 MB / 0.5942 GB, free: 284 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)