Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.4 MB / 303.4 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 184.5 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 0.6307 GB, free: 9.961 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0009002, allocations: 90.92 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.0004492, allocations: 16.38 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002623/0.2321, allocations: 2.465 MB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2346, allocations: 2.081 MB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2347, allocations: 0 / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006126/0.2354, allocations: 222.9 kB / 0.9843 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2355, allocations: 71.41 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0009009/0.2364, allocations: 421.1 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.2368, allocations: 431.6 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2369, allocations: 49 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.237, allocations: 175.5 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2372, allocations: 199.4 kB / 0.9855 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.2373, allocations: 24 kB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.2376, allocations: 219.7 kB / 0.9858 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2378, allocations: 151.6 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.311e-05/0.2379, allocations: 85.52 kB / 0.986 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.2383, allocations: 0.5806 MB / 0.9866 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2383, allocations: 0 / 0.9866 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2383, allocations: 0 / 0.9866 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2383, allocations: 0 / 0.9866 GB, free: 20.48 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00112/0.2394, allocations: 0.7816 MB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2395, allocations: 12.02 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.2415, allocations: 251.1 kB / 0.9876 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004684/0.242, allocations: 409 kB / 0.988 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.2421, allocations: 79.38 kB / 0.988 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.2422, allocations: 16 kB / 0.9881 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2433, allocations: 0.5493 MB / 0.9886 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2433, allocations: 3.938 kB / 0.9886 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.2434, allocations: 12 kB / 0.9886 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2434, allocations: 0 / 0.9886 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.2453, allocations: 0.8313 MB / 0.9894 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2473, allocations: 1.277 MB / 0.9907 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/0.2524, allocations: 1.088 MB / 0.9917 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/0.2533, allocations: 428.6 kB / 0.9921 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.2534, allocations: 11.97 kB / 0.9922 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.2545, allocations: 0.5473 MB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.645e-06/0.2545, allocations: 0 / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002933/0.2575, allocations: 1.271 MB / 0.9939 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.2575, allocations: 63.34 kB / 0.994 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.2581, allocations: 0.5135 MB / 0.9945 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.2582, allocations: 33.7 kB / 0.9945 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.2583, allocations: 200.4 kB / 0.9947 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.2584, allocations: 71.09 kB / 0.9948 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.2585, allocations: 0 / 0.9948 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2586, allocations: 358.8 kB / 0.9951 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009862/0.2596, allocations: 496.5 kB / 0.9956 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.2606, allocations: 0.517 MB / 0.9961 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.2616, allocations: 464.3 kB / 0.9965 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.2616, allocations: 0 / 0.9965 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002147/0.2637, allocations: 1.146 MB / 0.9977 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.2638, allocations: 41.69 kB / 0.9977 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2638, allocations: 0 / 0.9977 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2638, allocations: 0 / 0.9977 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.2644, allocations: 103.9 kB / 0.9978 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2644, allocations: 0 / 0.9978 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.265, allocations: 87.67 kB / 0.9979 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.265, allocations: 23.91 kB / 0.9979 GB, free: 8.59 MB / 0.6198 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.2653, allocations: 206.3 kB / 0.9981 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.2654, allocations: 51.38 kB / 0.9982 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.2655, allocations: 47.92 kB / 0.9982 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2655, allocations: 4 kB / 0.9982 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2655, allocations: 0 / 0.9982 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2655, allocations: 3.984 kB / 0.9982 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.266, allocations: 0.6495 MB / 0.9988 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.266, allocations: 4 kB / 0.9988 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.2666, allocations: 99.83 kB / 0.9989 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2666, allocations: 4 kB / 0.9989 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.2667, allocations: 11.98 kB / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2667, allocations: 0 / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2667, allocations: 0 / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.2686, allocations: 0.8935 MB / 0.9998 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2688, allocations: 188.4 kB / 1 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.2689, allocations: 8 kB / 1 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005512/0.2694, allocations: 83.91 kB / 1 GB, free: 6.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.2695, allocations: 23.97 kB / 1 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.2695, allocations: 23.91 kB / 1 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003275/0.2699, allocations: 387 kB / 1.001 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2699, allocations: 0 / 1.001 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003634/0.2703, allocations: 100 kB / 1.001 GB, free: 5.734 MB / 0.6198 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 (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003839/0.2706, allocations: 157.4 kB / 1.001 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.2727, allocations: 0.9909 MB / 1.002 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2727, allocations: 0 / 1.002 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.2737, allocations: 455.6 kB / 1.002 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.2742, allocations: 93.84 kB / 1.002 GB, free: 4.035 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2762, allocations: 1.124 MB / 1.003 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.2765, allocations: 0.8583 MB / 1.004 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005108/0.277, allocations: 126.9 kB / 1.004 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.2772, allocations: 35.41 kB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2772, allocations: 0 / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of Templates: time 0.01369/0.2909, allocations: 7.954 MB / 1.012 GB, free: 10 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)