Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 297.4 MB / 312.6 MB, free: 2.941 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.001153/0.001153, allocations: 189 kB / 382.3 MB, free: 14.85 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.366/1.366, allocations: 225.7 MB / 0.6617 GB, free: 7.234 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.0008687/0.0008687, allocations: 98.53 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005124, allocations: 12 kB / 0.9059 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7019/0.7024, allocations: 119.2 MB / 1.022 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002952/0.7054, allocations: 2.481 MB / 1.025 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.7085, allocations: 2.882 MB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.7087, allocations: 3.438 kB / 1.028 GB, free: 54.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007718/0.7095, allocations: 249 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.7097, allocations: 62.47 kB / 1.028 GB, free: 54.1 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.00103/0.7107, allocations: 441.8 kB / 1.028 GB, free: 53.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.7112, allocations: 495.3 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.7113, allocations: 45.53 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.7115, allocations: 186.2 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.7117, allocations: 196.4 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.136e-05/0.7117, allocations: 22.59 kB / 1.029 GB, free: 53.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003704/0.7121, allocations: 230.3 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.7123, allocations: 141.1 kB / 1.03 GB, free: 53.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.7125, allocations: 232.9 kB / 1.03 GB, free: 53.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007576/0.7133, allocations: 0.719 MB / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.7133, allocations: 0.9688 kB / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7133, allocations: 0 / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.7133, allocations: 0 / 1.03 GB, free: 53.08 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.001166/0.7145, allocations: 0.7665 MB / 1.031 GB, free: 52.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.7145, allocations: 10.19 kB / 1.031 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.7165, allocations: 243 kB / 1.031 GB, free: 52.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.717, allocations: 433.5 kB / 1.032 GB, free: 52.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.7172, allocations: 83.17 kB / 1.032 GB, free: 52.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.7172, allocations: 18.41 kB / 1.032 GB, free: 52.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.7184, allocations: 0.5558 MB / 1.032 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7184, allocations: 0.8125 kB / 1.032 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.7185, allocations: 4 kB / 1.032 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.7185, allocations: 2.406 kB / 1.032 GB, free: 51.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.7204, allocations: 0.8302 MB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.7226, allocations: 1.286 MB / 1.035 GB, free: 51.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004915/0.7275, allocations: 1.085 MB / 1.036 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.7284, allocations: 425.2 kB / 1.036 GB, free: 50.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.7285, allocations: 2.812 kB / 1.036 GB, free: 50.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.7297, allocations: 0.5593 MB / 1.037 GB, free: 50.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 3.807e-06/0.7297, allocations: 4 kB / 1.037 GB, free: 50.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.00311/0.7328, allocations: 1.254 MB / 1.038 GB, free: 50.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.7328, allocations: 57.36 kB / 1.038 GB, free: 50.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.7335, allocations: 0.5168 MB / 1.038 GB, free: 49.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.7336, allocations: 41.05 kB / 1.038 GB, free: 49.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.7337, allocations: 202.2 kB / 1.039 GB, free: 49.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.7338, allocations: 68.25 kB / 1.039 GB, free: 49.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.7338, allocations: 5.969 kB / 1.039 GB, free: 49.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.734, allocations: 355.6 kB / 1.039 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.735, allocations: 493.2 kB / 1.039 GB, free: 49.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.736, allocations: 0.5272 MB / 1.04 GB, free: 49.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.7378, allocations: 0.8065 MB / 1.041 GB, free: 48.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7378, allocations: 0 / 1.041 GB, free: 48.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002369/0.7402, allocations: 1.138 MB / 1.042 GB, free: 48.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.7403, allocations: 54.03 kB / 1.042 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7403, allocations: 4.5 kB / 1.042 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.7403, allocations: 0 / 1.042 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/0.7409, allocations: 101.2 kB / 1.042 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7409, allocations: 0 / 1.042 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.7414, allocations: 83.62 kB / 1.042 GB, free: 48.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.7415, allocations: 20.27 kB / 1.042 GB, free: 48.39 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.0002843/0.7418, allocations: 215.3 kB / 1.042 GB, free: 48.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.7418, allocations: 47.78 kB / 1.042 GB, free: 48.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.163e-05/0.7419, allocations: 47.2 kB / 1.042 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.7419, allocations: 4.312 kB / 1.042 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.742, allocations: 0 / 1.042 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.742, allocations: 1.875 kB / 1.042 GB, free: 48.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.7425, allocations: 0.6442 MB / 1.043 GB, free: 47.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7425, allocations: 0 / 1.043 GB, free: 47.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.7431, allocations: 106 kB / 1.043 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7431, allocations: 7.938 kB / 1.043 GB, free: 47.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.7432, allocations: 14.59 kB / 1.043 GB, free: 47.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7432, allocations: 5.656 kB / 1.043 GB, free: 47.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7432, allocations: 0 / 1.043 GB, free: 47.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.745, allocations: 0.8854 MB / 1.044 GB, free: 47.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.7452, allocations: 194.2 kB / 1.044 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.935e-05/0.7453, allocations: 7.375 kB / 1.044 GB, free: 47.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/0.7458, allocations: 82.42 kB / 1.044 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.7459, allocations: 24.86 kB / 1.044 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.746, allocations: 10.86 kB / 1.044 GB, free: 47.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003799/0.7463, allocations: 385.5 kB / 1.045 GB, free: 47.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7463, allocations: 4 kB / 1.045 GB, free: 47.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003992/0.7468, allocations: 93.64 kB / 1.045 GB, free: 47.18 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.0004179/0.7472, allocations: 172.3 kB / 1.045 GB, free: 47.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.7492, allocations: 0.9998 MB / 1.046 GB, free: 46.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7492, allocations: 0 / 1.046 GB, free: 46.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.7502, allocations: 447.5 kB / 1.046 GB, free: 46.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.7507, allocations: 88.69 kB / 1.046 GB, free: 46.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.7527, allocations: 1.17 MB / 1.048 GB, free: 46.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.753, allocations: 0.862 MB / 1.048 GB, free: 45.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004967/0.7535, allocations: 131 kB / 1.049 GB, free: 45.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.7536, allocations: 36.86 kB / 1.049 GB, free: 45.31 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.7536, allocations: 0 / 1.049 GB, free: 45.31 MB / 0.698 GB Notification: Performance of Templates: time 0.01213/0.7658, allocations: 8.208 MB / 1.057 GB, free: 44.76 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)