Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.797/1.797, allocations: 287.5 MB / 302.6 MB, free: 8.141 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.001186/0.001186, allocations: 174.7 kB / 371.2 MB, free: 10.84 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.357/1.357, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0008005/0.0008005, allocations: 94.28 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003991, allocations: 21.92 kB / 0.8661 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002311/0.2073, allocations: 2.467 MB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.2096, allocations: 2.071 MB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.2098, allocations: 4 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.2105, allocations: 234.9 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.2106, allocations: 59.42 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.001013/0.2117, allocations: 422.9 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004732/0.2121, allocations: 447.7 kB / 0.9842 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2123, allocations: 60.94 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.2125, allocations: 179.5 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.2127, allocations: 187.4 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.2128, allocations: 28 kB / 0.9847 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.2132, allocations: 227.7 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.2133, allocations: 143.6 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.2135, allocations: 89.52 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.2139, allocations: 0.5728 MB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2139, allocations: 3.984 kB / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.214, allocations: 0 / 0.9857 GB, free: 21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.214, allocations: 0 / 0.9857 GB, free: 21 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.00122/0.2152, allocations: 0.7663 MB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2152, allocations: 8.031 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.2172, allocations: 252.1 kB / 0.9867 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.2178, allocations: 429.9 kB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2179, allocations: 83.88 kB / 0.9872 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.218, allocations: 19.94 kB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2191, allocations: 0.5493 MB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2192, allocations: 0 / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.2192, allocations: 8 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.2192, allocations: 4 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.2211, allocations: 0.8313 MB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.2231, allocations: 1.281 MB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/0.2281, allocations: 1.095 MB / 0.9909 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000898/0.2291, allocations: 424.6 kB / 0.9913 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.2291, allocations: 4 kB / 0.9913 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.2302, allocations: 0.5587 MB / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.364e-06/0.2302, allocations: 0 / 0.9918 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.00292/0.2331, allocations: 1.265 MB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2332, allocations: 55.41 kB / 0.9931 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.2337, allocations: 0.5174 MB / 0.9936 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.2338, allocations: 37.69 kB / 0.9936 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.2339, allocations: 192.5 kB / 0.9938 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.234, allocations: 71 kB / 0.9939 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.234, allocations: 4 kB / 0.9939 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.2341, allocations: 354.8 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2351, allocations: 496.5 kB / 0.9947 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.2361, allocations: 0.5247 MB / 0.9952 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.2379, allocations: 0.8107 MB / 0.996 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2379, allocations: 4 kB / 0.996 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002259/0.2401, allocations: 1.139 MB / 0.9971 GB, free: 9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.2402, allocations: 48.12 kB / 0.9972 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2402, allocations: 4 kB / 0.9972 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2402, allocations: 0 / 0.9972 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.2408, allocations: 99.89 kB / 0.9973 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2409, allocations: 4 kB / 0.9973 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.2414, allocations: 75.78 kB / 0.9974 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.2415, allocations: 19.97 kB / 0.9974 GB, free: 8.75 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.0002551/0.2417, allocations: 217.7 kB / 0.9976 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.2418, allocations: 47.38 kB / 0.9976 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.2419, allocations: 51.91 kB / 0.9977 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2419, allocations: 7.938 kB / 0.9977 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2419, allocations: 0 / 0.9977 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.2419, allocations: 4 kB / 0.9977 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.2425, allocations: 0.6415 MB / 0.9983 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2425, allocations: 0 / 0.9983 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.2431, allocations: 107.8 kB / 0.9984 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2431, allocations: 11.88 kB / 0.9984 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.2431, allocations: 7.984 kB / 0.9984 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2431, allocations: 4 kB / 0.9984 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2432, allocations: 0 / 0.9984 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.2451, allocations: 0.8899 MB / 0.9993 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.2453, allocations: 196.3 kB / 0.9995 GB, free: 6.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.2454, allocations: 7.984 kB / 0.9995 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/0.246, allocations: 75.92 kB / 0.9996 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.2461, allocations: 31.95 kB / 0.9996 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.2461, allocations: 11.98 kB / 0.9996 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00035/0.2465, allocations: 387.1 kB / 1 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2465, allocations: 0 / 1 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004023/0.2469, allocations: 99.98 kB / 1 GB, free: 5.879 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.000359/0.2472, allocations: 148.4 kB / 1 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.2493, allocations: 0.9987 MB / 1.001 GB, free: 4.719 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2493, allocations: 4 kB / 1.001 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009498/0.2503, allocations: 447.6 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.2507, allocations: 91.42 kB / 1.002 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.2528, allocations: 1.128 MB / 1.003 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.2531, allocations: 0.8544 MB / 1.004 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005439/0.2536, allocations: 134.8 kB / 1.004 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2538, allocations: 39.41 kB / 1.004 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of SimCode: time 3.51e-07/0.2538, allocations: 0 / 1.004 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of Templates: time 0.01377/0.2676, allocations: 7.974 MB / 1.012 GB, free: 10.11 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)