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.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") 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.478/1.478, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.001018/0.001018, allocations: 197.9 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.444/1.444, allocations: 225.7 MB / 0.6016 GB, free: 1.547 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.000844/0.0008439, allocations: 103.6 kB / 0.709 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 13.78 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1994, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002115/0.2015, allocations: 1.992 MB / 0.9347 GB, free: 4.23 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2037, allocations: 2.448 MB / 0.9371 GB, free: 1.605 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2039, allocations: 4 kB / 0.9371 GB, free: 1.602 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.2045, allocations: 223.2 kB / 0.9373 GB, free: 1.383 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.2047, allocations: 55.48 kB / 0.9374 GB, free: 1.328 MB / 0.573 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.0008221/0.2055, allocations: 379.4 kB / 0.9377 GB, free: 0.957 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.2058, allocations: 382.8 kB / 0.9381 GB, free: 0.582 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2059, allocations: 36.34 kB / 0.9381 GB, free: 0.543 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.2061, allocations: 139.6 kB / 0.9383 GB, free: 416 kB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.2062, allocations: 139.5 kB / 0.9384 GB, free: 276 kB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.2063, allocations: 20 kB / 0.9384 GB, free: 256 kB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.2066, allocations: 231.7 kB / 0.9386 GB, free: 24 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.2067, allocations: 107.7 kB / 0.9387 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2069, allocations: 192.7 kB / 0.9389 GB, free: 15.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005874/0.2075, allocations: 0.5686 MB / 0.9395 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2075, allocations: 0 / 0.9395 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2075, allocations: 0 / 0.9395 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.2075, allocations: 0 / 0.9395 GB, free: 15.15 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001091/0.2086, allocations: 0.6596 MB / 0.9401 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2087, allocations: 11.98 kB / 0.9401 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.2103, allocations: 164.4 kB / 0.9403 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004847/0.2108, allocations: 374.2 kB / 0.9407 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.2109, allocations: 75.95 kB / 0.9407 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.211, allocations: 8.375 kB / 0.9407 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.2119, allocations: 465.3 kB / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.212, allocations: 0 / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.212, allocations: 4 kB / 0.9412 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.212, allocations: 7.984 kB / 0.9412 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.2136, allocations: 0.6167 MB / 0.9418 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.2153, allocations: 1.073 MB / 0.9428 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.2202, allocations: 0.9081 MB / 0.9437 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007483/0.2209, allocations: 328.7 kB / 0.944 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.221, allocations: 0 / 0.944 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/0.2219, allocations: 467 kB / 0.9445 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 3.667e-06/0.222, allocations: 4 kB / 0.9445 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.002362/0.2243, allocations: 0.9734 MB / 0.9454 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.2244, allocations: 59.39 kB / 0.9455 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.2249, allocations: 433.6 kB / 0.9459 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.225, allocations: 33.7 kB / 0.9459 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.2251, allocations: 172 kB / 0.9461 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.243e-05/0.2252, allocations: 51.3 kB / 0.9462 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.2252, allocations: 0 / 0.9462 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2254, allocations: 350.8 kB / 0.9465 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008698/0.2262, allocations: 408.6 kB / 0.9469 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.2271, allocations: 395.6 kB / 0.9473 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.2286, allocations: 0.6349 MB / 0.9479 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2286, allocations: 0 / 0.9479 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001965/0.2306, allocations: 0.9479 MB / 0.9488 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.2306, allocations: 41.84 kB / 0.9488 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2306, allocations: 0 / 0.9488 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2307, allocations: 4 kB / 0.9488 GB, free: 5.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.2311, allocations: 79.86 kB / 0.9489 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2312, allocations: 0 / 0.9489 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.2315, allocations: 47.86 kB / 0.949 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.2316, allocations: 27.91 kB / 0.949 GB, free: 5.141 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 (17): * Single equations (assignments): 16 * 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.000269/0.2319, allocations: 185.7 kB / 0.9492 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.232, allocations: 31.62 kB / 0.9492 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.232, allocations: 39.45 kB / 0.9492 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2321, allocations: 4 kB / 0.9492 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2321, allocations: 0 / 0.9492 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2321, allocations: 0 / 0.9492 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.2327, allocations: 0.5517 MB / 0.9498 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2327, allocations: 0 / 0.9498 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.2331, allocations: 79.86 kB / 0.9499 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2332, allocations: 0 / 0.9499 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2332, allocations: 7.984 kB / 0.9499 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2332, allocations: 4 kB / 0.9499 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2332, allocations: 0 / 0.9499 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2348, allocations: 0.6961 MB / 0.9505 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.235, allocations: 160.7 kB / 0.9507 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.273e-05/0.2351, allocations: 8 kB / 0.9507 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.2355, allocations: 67.94 kB / 0.9508 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.2356, allocations: 19.91 kB / 0.9508 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.2357, allocations: 11.98 kB / 0.9508 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003556/0.236, allocations: 319 kB / 0.9511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2361, allocations: 4 kB / 0.9511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004022/0.2365, allocations: 84.16 kB / 0.9512 GB, free: 2.797 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 (16): * Single equations (assignments): 14 * 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.0004624/0.2369, allocations: 177.2 kB / 0.9514 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.2388, allocations: 0.8035 MB / 0.9521 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2388, allocations: 0 / 0.9521 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.2396, allocations: 351.7 kB / 0.9525 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.2401, allocations: 73.45 kB / 0.9525 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.2418, allocations: 0.9033 MB / 0.9534 GB, free: 480 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.2423, allocations: 0.8068 MB / 0.9542 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004383/0.2427, allocations: 102.2 kB / 0.9543 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2428, allocations: 35.41 kB / 0.9544 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of SimCode: time 4.2e-07/0.2429, allocations: 4 kB / 0.9544 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.0115/0.2544, allocations: 6.67 MB / 0.9609 GB, free: 8.863 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)