Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.706/1.706, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.00105/0.00105, allocations: 163.5 kB / 393.1 MB, free: 4.109 MB / 314.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.33/1.33, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008065, allocations: 88.88 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/0.5903, allocations: 121.3 MB / 1.041 GB, free: 58.19 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002746/0.5931, allocations: 2.474 MB / 1.043 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.596, allocations: 2.884 MB / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.5962, allocations: 0 / 1.046 GB, free: 54.1 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.5969, allocations: 246.8 kB / 1.046 GB, free: 53.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.5971, allocations: 70.52 kB / 1.046 GB, free: 53.94 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.001079/0.5982, allocations: 452.3 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.5987, allocations: 484.8 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.5988, allocations: 54.3 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.599, allocations: 185.9 kB / 1.048 GB, free: 53.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.5992, allocations: 194.2 kB / 1.048 GB, free: 53.37 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.5993, allocations: 23.16 kB / 1.048 GB, free: 53.37 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.5997, allocations: 228.5 kB / 1.048 GB, free: 53.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.5999, allocations: 139.2 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.6002, allocations: 234 kB / 1.048 GB, free: 53.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007795/0.6009, allocations: 0.724 MB / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.601, allocations: 0 / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.705e-06/0.601, allocations: 0.5312 kB / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.601, allocations: 1.031 kB / 1.049 GB, free: 52.92 MB / 0.698 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.001135/0.6021, allocations: 0.7658 MB / 1.05 GB, free: 52.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6022, allocations: 10.16 kB / 1.05 GB, free: 52.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.6041, allocations: 250.2 kB / 1.05 GB, free: 52.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.6047, allocations: 424.7 kB / 1.05 GB, free: 51.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.6048, allocations: 86.39 kB / 1.051 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.6049, allocations: 18.36 kB / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.6062, allocations: 0.5596 MB / 1.051 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6062, allocations: 0 / 1.051 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.6062, allocations: 5.219 kB / 1.051 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6062, allocations: 2.469 kB / 1.051 GB, free: 51.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.6083, allocations: 0.8256 MB / 1.052 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.6104, allocations: 1.279 MB / 1.053 GB, free: 50.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005035/0.6154, allocations: 1.086 MB / 1.054 GB, free: 50.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009135/0.6163, allocations: 429.4 kB / 1.055 GB, free: 50.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.6164, allocations: 4.984 kB / 1.055 GB, free: 50.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.6175, allocations: 0.5663 MB / 1.055 GB, free: 50.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 2.295e-06/0.6175, allocations: 0 / 1.055 GB, free: 50.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.002911/0.6204, allocations: 1.265 MB / 1.056 GB, free: 50.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6205, allocations: 58.5 kB / 1.056 GB, free: 49.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.621, allocations: 0.5158 MB / 1.057 GB, free: 49.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.6211, allocations: 40.77 kB / 1.057 GB, free: 49.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.6212, allocations: 198.6 kB / 1.057 GB, free: 49.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.6213, allocations: 63.27 kB / 1.057 GB, free: 49.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.6213, allocations: 4 kB / 1.057 GB, free: 49.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.6214, allocations: 353.3 kB / 1.058 GB, free: 49.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.6224, allocations: 0.4908 MB / 1.058 GB, free: 49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009935/0.6234, allocations: 0.5268 MB / 1.059 GB, free: 48.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.6251, allocations: 0.8097 MB / 1.059 GB, free: 48.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6251, allocations: 0 / 1.059 GB, free: 48.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002146/0.6273, allocations: 1.132 MB / 1.06 GB, free: 48.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.6273, allocations: 45.72 kB / 1.061 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6273, allocations: 0 / 1.061 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6274, allocations: 3.312 kB / 1.061 GB, free: 48.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.628, allocations: 110.8 kB / 1.061 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.628, allocations: 0 / 1.061 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/0.6285, allocations: 77.61 kB / 1.061 GB, free: 48.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.6286, allocations: 15.97 kB / 1.061 GB, free: 48.22 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.6289, allocations: 214.5 kB / 1.061 GB, free: 48.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.629, allocations: 49.81 kB / 1.061 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.6291, allocations: 48.83 kB / 1.061 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.6291, allocations: 4.312 kB / 1.061 GB, free: 48.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.6291, allocations: 4 kB / 1.061 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6291, allocations: 2.297 kB / 1.061 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/0.6297, allocations: 0.6474 MB / 1.062 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6297, allocations: 3.938 kB / 1.062 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.6303, allocations: 103.4 kB / 1.062 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.6303, allocations: 3.938 kB / 1.062 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.6303, allocations: 9.703 kB / 1.062 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.6303, allocations: 0 / 1.062 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6303, allocations: 3.219 kB / 1.062 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.6322, allocations: 0.8894 MB / 1.063 GB, free: 47.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.6324, allocations: 192.5 kB / 1.063 GB, free: 47.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.6325, allocations: 5.016 kB / 1.063 GB, free: 47.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.633, allocations: 83.12 kB / 1.063 GB, free: 47.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.6331, allocations: 24.08 kB / 1.063 GB, free: 47.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.6332, allocations: 19.3 kB / 1.063 GB, free: 47.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003723/0.6335, allocations: 382.9 kB / 1.063 GB, free: 47 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6335, allocations: 0 / 1.063 GB, free: 47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004007/0.6339, allocations: 103.2 kB / 1.063 GB, free: 46.98 MB / 0.698 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 (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.0003965/0.6344, allocations: 176.1 kB / 1.064 GB, free: 46.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001955/0.6363, allocations: 0.9878 MB / 1.065 GB, free: 46.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6363, allocations: 3.344 kB / 1.065 GB, free: 46.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008809/0.6372, allocations: 455.7 kB / 1.065 GB, free: 46.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.6377, allocations: 84.86 kB / 1.065 GB, free: 46.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.6397, allocations: 1.169 MB / 1.066 GB, free: 45.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.64, allocations: 0.8546 MB / 1.067 GB, free: 45.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000515/0.6405, allocations: 127.3 kB / 1.067 GB, free: 45.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6407, allocations: 43.22 kB / 1.067 GB, free: 45.12 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.6407, allocations: 4 kB / 1.067 GB, free: 45.11 MB / 0.698 GB Notification: Performance of Templates: time 0.01284/0.6536, allocations: 8.186 MB / 1.075 GB, free: 44.55 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)