Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.75/1.75, allocations: 291.7 MB / 306.8 MB, free: 7.703 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001016, allocations: 199.9 kB / 375.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.7 MB / 0.6538 GB, free: 13.54 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008147/0.0008146, allocations: 100 kB / 0.7699 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 16 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.6207, allocations: 118.1 MB / 1.011 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002867/0.6236, allocations: 2.465 MB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.6265, allocations: 2.072 MB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.6267, allocations: 2.531 kB / 1.015 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.6275, allocations: 228.3 kB / 1.016 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.6277, allocations: 72.41 kB / 1.016 GB, free: 56.92 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.001059/0.6287, allocations: 430.7 kB / 1.016 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.6292, allocations: 447.5 kB / 1.016 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.6293, allocations: 52.84 kB / 1.017 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.6295, allocations: 180.2 kB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.6297, allocations: 189.4 kB / 1.017 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.6298, allocations: 24.81 kB / 1.017 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.6302, allocations: 216.7 kB / 1.017 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.6303, allocations: 150.6 kB / 1.017 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.6304, allocations: 89.61 kB / 1.017 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.631, allocations: 0.5769 MB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.631, allocations: 1.375 kB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.631, allocations: 3.938 kB / 1.018 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.631, allocations: 0 / 1.018 GB, free: 56.68 MB / 0.7136 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.001113/0.6321, allocations: 0.7619 MB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6321, allocations: 16.47 kB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.6341, allocations: 246.3 kB / 1.019 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.6346, allocations: 429 kB / 1.019 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6347, allocations: 81.83 kB / 1.019 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.6348, allocations: 13.84 kB / 1.019 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.636, allocations: 0.5594 MB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.636, allocations: 1.125 kB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.636, allocations: 5.594 kB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.636, allocations: 2.844 kB / 1.02 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.638, allocations: 0.8295 MB / 1.021 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.6401, allocations: 1.279 MB / 1.022 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.6451, allocations: 1.094 MB / 1.023 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009322/0.6461, allocations: 426 kB / 1.023 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.6461, allocations: 4.641 kB / 1.023 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6472, allocations: 0.5666 MB / 1.024 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 3.346e-06/0.6473, allocations: 0.8438 kB / 1.024 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.003242/0.6505, allocations: 1.261 MB / 1.025 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6506, allocations: 54.22 kB / 1.025 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.6515, allocations: 0.5187 MB / 1.026 GB, free: 54.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6516, allocations: 37.52 kB / 1.026 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.6518, allocations: 194.5 kB / 1.026 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.6519, allocations: 69.12 kB / 1.026 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.6519, allocations: 5.281 kB / 1.026 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.652, allocations: 357.5 kB / 1.026 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6531, allocations: 0.4913 MB / 1.027 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6542, allocations: 0.5194 MB / 1.027 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.656, allocations: 0.8075 MB / 1.028 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.656, allocations: 4 kB / 1.028 GB, free: 54.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002498/0.6585, allocations: 1.135 MB / 1.029 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.72e-05/0.6586, allocations: 47.83 kB / 1.029 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6586, allocations: 0 / 1.029 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.6586, allocations: 1.281 kB / 1.029 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.6592, allocations: 106.2 kB / 1.03 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.6592, allocations: 9.312 kB / 1.03 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.6597, allocations: 73.53 kB / 1.03 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.55e-05/0.6598, allocations: 15.81 kB / 1.03 GB, free: 54.24 MB / 0.7136 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.0003371/0.6601, allocations: 217.8 kB / 1.03 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.6602, allocations: 50.78 kB / 1.03 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.6603, allocations: 46.19 kB / 1.03 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6603, allocations: 0 / 1.03 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6603, allocations: 1.469 kB / 1.03 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6603, allocations: 8.078 kB / 1.03 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.661, allocations: 0.6412 MB / 1.031 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.661, allocations: 6.516 kB / 1.031 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.6616, allocations: 103 kB / 1.031 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.6616, allocations: 4.906 kB / 1.031 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.6617, allocations: 10.28 kB / 1.031 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6617, allocations: 1.375 kB / 1.031 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6617, allocations: 0 / 1.031 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.6637, allocations: 0.8881 MB / 1.032 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.6639, allocations: 198.8 kB / 1.032 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.664, allocations: 8.531 kB / 1.032 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.6645, allocations: 78.98 kB / 1.032 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.6646, allocations: 27.58 kB / 1.032 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.6647, allocations: 15.41 kB / 1.032 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004968/0.6652, allocations: 387.1 kB / 1.032 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6652, allocations: 0 / 1.032 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004857/0.6657, allocations: 93.98 kB / 1.032 GB, free: 53.54 MB / 0.7136 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.0004395/0.6661, allocations: 176.9 kB / 1.032 GB, free: 53.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.6683, allocations: 0.9892 MB / 1.033 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6683, allocations: 0 / 1.033 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6694, allocations: 451.5 kB / 1.034 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.6699, allocations: 89.5 kB / 1.034 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.6721, allocations: 1.139 MB / 1.035 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.6724, allocations: 0.8541 MB / 1.036 GB, free: 52.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005799/0.673, allocations: 129.1 kB / 1.036 GB, free: 52.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.6731, allocations: 39.25 kB / 1.036 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.6731, allocations: 0 / 1.036 GB, free: 52.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.01396/0.6871, allocations: 7.979 MB / 1.044 GB, free: 51.84 MB / 0.7136 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)