Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.001087/0.001087, allocations: 198.8 kB / 330.8 MB, free: 460 kB / 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 1.545/1.545, allocations: 225.7 MB / 0.6016 GB, free: 15.88 MB / 442.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.0007515/0.0007515, allocations: 97.17 kB / 0.709 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 10.19 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2057, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002856/0.2086, allocations: 2.479 MB / 0.9352 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.2112, allocations: 2.89 MB / 0.938 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2114, allocations: 0 / 0.938 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000731/0.2122, allocations: 247.1 kB / 0.9382 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2123, allocations: 63.42 kB / 0.9383 GB, free: 18.2 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0009741/0.2133, allocations: 451.2 kB / 0.9387 GB, free: 17.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.2137, allocations: 486.5 kB / 0.9392 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2138, allocations: 48.72 kB / 0.9392 GB, free: 17.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.214, allocations: 179.5 kB / 0.9394 GB, free: 17.06 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2142, allocations: 199.2 kB / 0.9396 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.2142, allocations: 24 kB / 0.9396 GB, free: 16.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2145, allocations: 227.7 kB / 0.9398 GB, free: 16.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2147, allocations: 147.6 kB / 0.94 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.2149, allocations: 228.7 kB / 0.9402 GB, free: 16.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.2154, allocations: 0.7203 MB / 0.9409 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2154, allocations: 0 / 0.9409 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2154, allocations: 0 / 0.9409 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2154, allocations: 0 / 0.9409 GB, free: 15.52 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.00111/0.2165, allocations: 0.7663 MB / 0.9417 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2166, allocations: 11.98 kB / 0.9417 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.2185, allocations: 252.1 kB / 0.9419 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.2189, allocations: 422 kB / 0.9423 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.726e-05/0.219, allocations: 79.94 kB / 0.9424 GB, free: 13.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.2191, allocations: 16.38 kB / 0.9424 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2202, allocations: 0.5533 MB / 0.9429 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2202, allocations: 3.938 kB / 0.943 GB, free: 13.31 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.034e-05/0.2203, allocations: 11.98 kB / 0.943 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2203, allocations: 0 / 0.943 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.2221, allocations: 0.8275 MB / 0.9438 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.2239, allocations: 1.288 MB / 0.945 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.2288, allocations: 1.099 MB / 0.9461 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008587/0.2296, allocations: 424.6 kB / 0.9465 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2297, allocations: 3.984 kB / 0.9465 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.2308, allocations: 0.5661 MB / 0.9471 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=21): time 2.585e-06/0.2308, allocations: 0 / 0.9471 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21): time 0.002791/0.2336, allocations: 1.261 MB / 0.9483 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.2336, allocations: 59.41 kB / 0.9484 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.2341, allocations: 0.5135 MB / 0.9489 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.2342, allocations: 37.69 kB / 0.9489 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2343, allocations: 196.4 kB / 0.9491 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.2344, allocations: 67.05 kB / 0.9491 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.2344, allocations: 4 kB / 0.9491 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.2345, allocations: 358.7 kB / 0.9495 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.2354, allocations: 496.5 kB / 0.95 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/0.2364, allocations: 0.5222 MB / 0.9505 GB, free: 5.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.238, allocations: 0.8124 MB / 0.9513 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.2381, allocations: 0 / 0.9513 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002112/0.2402, allocations: 1.143 MB / 0.9524 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/0.2402, allocations: 49.53 kB / 0.9524 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2403, allocations: 0 / 0.9524 GB, free: 3.449 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2403, allocations: 7.938 kB / 0.9524 GB, free: 3.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.2409, allocations: 99.89 kB / 0.9525 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2409, allocations: 7.922 kB / 0.9525 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.2414, allocations: 79.83 kB / 0.9526 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.2415, allocations: 19.97 kB / 0.9526 GB, free: 3.238 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.2417, allocations: 209.8 kB / 0.9528 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.2418, allocations: 39.53 kB / 0.9529 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.2419, allocations: 51.91 kB / 0.9529 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2419, allocations: 3.938 kB / 0.9529 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2419, allocations: 0 / 0.9529 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2419, allocations: 4 kB / 0.9529 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.2425, allocations: 0.6416 MB / 0.9536 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2425, allocations: 0 / 0.9536 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.2431, allocations: 107.8 kB / 0.9537 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2431, allocations: 0 / 0.9537 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2431, allocations: 11.92 kB / 0.9537 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2431, allocations: 4 kB / 0.9537 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2431, allocations: 0 / 0.9537 GB, free: 2.113 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2449, allocations: 0.8894 MB / 0.9545 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2451, allocations: 192.4 kB / 0.9547 GB, free: 1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.2452, allocations: 15.92 kB / 0.9547 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.2457, allocations: 79.92 kB / 0.9548 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2458, allocations: 23.91 kB / 0.9548 GB, free: 0.8828 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.2459, allocations: 15.98 kB / 0.9549 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003553/0.2463, allocations: 391 kB / 0.9552 GB, free: 500 kB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2463, allocations: 0 / 0.9552 GB, free: 500 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003867/0.2467, allocations: 99.91 kB / 0.9553 GB, free: 400 kB / 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 (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.0003873/0.247, allocations: 159.4 kB / 0.9555 GB, free: 240 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.2493, allocations: 1.001 MB / 0.9564 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2493, allocations: 0 / 0.9564 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.2503, allocations: 447.6 kB / 0.9569 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.2509, allocations: 101.7 kB / 0.957 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.2532, allocations: 1.167 MB / 0.9581 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.2538, allocations: 0.8544 MB / 0.9589 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005914/0.2544, allocations: 130.9 kB / 0.9591 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.2546, allocations: 35.41 kB / 0.9591 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2546, allocations: 0 / 0.9591 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.01634/0.271, allocations: 8.195 MB / 0.9671 GB, free: 4.305 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)