Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.465/2.465, allocations: 254.9 MB / 269.9 MB, free: 9.66 MB / 218.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.001397/0.001397, allocations: 187.5 kB / 329.5 MB, free: 1.18 MB / 250.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 2.281/2.281, allocations: 225.6 MB / 0.6001 GB, free: 0.5195 MB / 426.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.001014/0.001014, allocations: 98.02 kB / 0.7074 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.0007651, allocations: 12.81 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2173, allocations: 109.1 MB / 0.9308 GB, free: 24.84 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003529/0.2209, allocations: 2.464 MB / 0.9332 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.2246, allocations: 2.07 MB / 0.9352 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2249, allocations: 0 / 0.9352 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0009875/0.2259, allocations: 242.8 kB / 0.9355 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2262, allocations: 59.48 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.001558/0.2277, allocations: 423.2 kB / 0.9359 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.2283, allocations: 434.6 kB / 0.9363 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2285, allocations: 52.7 kB / 0.9364 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2288, allocations: 179.5 kB / 0.9365 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.2291, allocations: 191.4 kB / 0.9367 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.2292, allocations: 24 kB / 0.9368 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.2298, allocations: 227.6 kB / 0.937 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.23, allocations: 143.6 kB / 0.9371 GB, free: 18.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2301, allocations: 97.45 kB / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.2308, allocations: 0.5653 MB / 0.9378 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2308, allocations: 4 kB / 0.9378 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2308, allocations: 0 / 0.9378 GB, free: 17.67 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2308, allocations: 0 / 0.9378 GB, free: 17.67 MB / 0.5886 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.00172/0.2326, allocations: 0.7778 MB / 0.9385 GB, free: 16.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.2326, allocations: 12.03 kB / 0.9385 GB, free: 16.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003474/0.2361, allocations: 244.1 kB / 0.9388 GB, free: 16.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008271/0.237, allocations: 406.4 kB / 0.9391 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.2371, allocations: 87.94 kB / 0.9392 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.2372, allocations: 20.31 kB / 0.9393 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.2394, allocations: 0.5577 MB / 0.9398 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.2394, allocations: 0 / 0.9398 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.2395, allocations: 0 / 0.9398 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.2395, allocations: 4 kB / 0.9398 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.243, allocations: 0.8275 MB / 0.9406 GB, free: 14.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.2464, allocations: 1.3 MB / 0.9419 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009644/0.2561, allocations: 1.084 MB / 0.9429 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/0.2579, allocations: 424.6 kB / 0.9433 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.258, allocations: 4 kB / 0.9433 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/0.26, allocations: 0.5574 MB / 0.9439 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 3.787e-06/0.2601, allocations: 4 kB / 0.9439 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21): time 0.005451/0.2655, allocations: 1.253 MB / 0.9451 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.2656, allocations: 59.41 kB / 0.9452 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.2664, allocations: 0.5135 MB / 0.9457 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.2665, allocations: 33.7 kB / 0.9457 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.2667, allocations: 208.4 kB / 0.9459 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2668, allocations: 67.08 kB / 0.946 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.2669, allocations: 8 kB / 0.946 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.267, allocations: 350.8 kB / 0.9463 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.2689, allocations: 496.5 kB / 0.9468 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.2708, allocations: 0.5306 MB / 0.9473 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.2726, allocations: 461.2 kB / 0.9477 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2726, allocations: 0 / 0.9477 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004201/0.2768, allocations: 1.137 MB / 0.9489 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.851e-05/0.277, allocations: 41.69 kB / 0.9489 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.277, allocations: 4 kB / 0.9489 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.277, allocations: 0 / 0.9489 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.2782, allocations: 107.8 kB / 0.949 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2782, allocations: 0 / 0.949 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2792, allocations: 83.7 kB / 0.9491 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.2793, allocations: 19.92 kB / 0.9491 GB, free: 5.777 MB / 0.5886 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.0004073/0.2797, allocations: 208.8 kB / 0.9493 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2798, allocations: 47.53 kB / 0.9493 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.28, allocations: 55.91 kB / 0.9494 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.28, allocations: 7.984 kB / 0.9494 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.28, allocations: 0 / 0.9494 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.28, allocations: 7.875 kB / 0.9494 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009058/0.2809, allocations: 0.6338 MB / 0.95 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2809, allocations: 0 / 0.95 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.2821, allocations: 99.89 kB / 0.9501 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2821, allocations: 4 kB / 0.9501 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.2822, allocations: 11.98 kB / 0.9501 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2822, allocations: 4 kB / 0.9501 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2822, allocations: 3.984 kB / 0.9501 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.2859, allocations: 0.8944 MB / 0.951 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.2863, allocations: 192.4 kB / 0.9512 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.2864, allocations: 3.984 kB / 0.9512 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.2875, allocations: 83.92 kB / 0.9513 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2876, allocations: 31.89 kB / 0.9513 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.2877, allocations: 11.98 kB / 0.9513 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005874/0.2883, allocations: 387.1 kB / 0.9517 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2883, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006281/0.2889, allocations: 99.98 kB / 0.9518 GB, free: 2.922 MB / 0.5886 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.000525/0.2895, allocations: 167.9 kB / 0.952 GB, free: 2.754 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00382/0.2933, allocations: 0.9909 MB / 0.9529 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2933, allocations: 0 / 0.9529 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.2951, allocations: 455.6 kB / 0.9534 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008245/0.296, allocations: 93.78 kB / 0.9534 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.2994, allocations: 1.127 MB / 0.9545 GB, free: 68 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.3001, allocations: 0.8583 MB / 0.9554 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001018/0.3011, allocations: 130.9 kB / 0.9555 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.3014, allocations: 39.41 kB / 0.9555 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.3014, allocations: 0 / 0.9555 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.02275/0.3242, allocations: 7.953 MB / 0.9633 GB, free: 7.117 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)