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.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.771/1.771, 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.0009684/0.0009683, allocations: 174.8 kB / 393.1 MB, free: 4.094 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.331/1.331, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007449/0.0007449, allocations: 91.7 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.000316, allocations: 12 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5364, allocations: 121.3 MB / 1.041 GB, free: 58.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003017/0.5394, allocations: 1.999 MB / 1.043 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002491/0.5419, allocations: 2.445 MB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.5421, allocations: 1.406 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.5427, allocations: 217.6 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.5428, allocations: 55.14 kB / 1.045 GB, free: 55.34 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.0008805/0.5437, allocations: 380.7 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.5441, allocations: 385.9 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.5442, allocations: 36.14 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.5444, allocations: 143.5 kB / 1.046 GB, free: 54.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.5445, allocations: 144.7 kB / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.5446, allocations: 18.38 kB / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.5449, allocations: 222.4 kB / 1.047 GB, free: 54.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.5451, allocations: 105.5 kB / 1.047 GB, free: 54.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.5453, allocations: 185.7 kB / 1.047 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.5458, allocations: 0.5741 MB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.5459, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5459, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.5459, allocations: 0 / 1.048 GB, free: 54.52 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009324/0.5468, allocations: 0.6578 MB / 1.048 GB, free: 53.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5469, allocations: 15.06 kB / 1.048 GB, free: 53.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5484, allocations: 170.9 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.5488, allocations: 363.5 kB / 1.049 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.5489, allocations: 74.62 kB / 1.049 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.5489, allocations: 11.88 kB / 1.049 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.5499, allocations: 457.2 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5499, allocations: 0 / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.5499, allocations: 6.375 kB / 1.049 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.5499, allocations: 7.391 kB / 1.049 GB, free: 53.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5514, allocations: 0.6268 MB / 1.05 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.553, allocations: 1.049 MB / 1.051 GB, free: 52.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004824/0.5579, allocations: 0.9212 MB / 1.052 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.5586, allocations: 321.3 kB / 1.052 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.5586, allocations: 6.406 kB / 1.052 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000966/0.5596, allocations: 472.4 kB / 1.053 GB, free: 52.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.5596, allocations: 0 / 1.053 GB, free: 52.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.002449/0.5621, allocations: 0.9789 MB / 1.054 GB, free: 52.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.5621, allocations: 55.55 kB / 1.054 GB, free: 51.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.5626, allocations: 433.2 kB / 1.054 GB, free: 51.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.5627, allocations: 38.69 kB / 1.054 GB, free: 51.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5628, allocations: 172.8 kB / 1.054 GB, free: 51.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.5628, allocations: 47.41 kB / 1.054 GB, free: 51.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.5629, allocations: 6.25 kB / 1.054 GB, free: 51.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.042e-05/0.563, allocations: 346.8 kB / 1.055 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008013/0.5638, allocations: 404.2 kB / 1.055 GB, free: 51.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007666/0.5645, allocations: 391.4 kB / 1.055 GB, free: 51.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.5659, allocations: 0.6379 MB / 1.056 GB, free: 50.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5659, allocations: 3.281 kB / 1.056 GB, free: 50.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001782/0.5677, allocations: 0.947 MB / 1.057 GB, free: 50.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.5677, allocations: 46.67 kB / 1.057 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5678, allocations: 0 / 1.057 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.5678, allocations: 0 / 1.057 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.5682, allocations: 77.75 kB / 1.057 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5682, allocations: 6.938 kB / 1.057 GB, free: 50.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.5686, allocations: 55.02 kB / 1.057 GB, free: 50.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.5687, allocations: 15.98 kB / 1.057 GB, free: 50.48 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 (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.0002132/0.5689, allocations: 191.3 kB / 1.057 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.569, allocations: 34.97 kB / 1.057 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.569, allocations: 44.67 kB / 1.057 GB, free: 50.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.569, allocations: 0 / 1.057 GB, free: 50.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5691, allocations: 11.88 kB / 1.057 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5691, allocations: 3.922 kB / 1.057 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.5695, allocations: 0.5285 MB / 1.058 GB, free: 49.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5695, allocations: 0 / 1.058 GB, free: 49.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.57, allocations: 76.77 kB / 1.058 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.57, allocations: 4 kB / 1.058 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.57, allocations: 7.094 kB / 1.058 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.57, allocations: 0 / 1.058 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.57, allocations: 3.938 kB / 1.058 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.5715, allocations: 0.7001 MB / 1.059 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.5717, allocations: 172.1 kB / 1.059 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.5717, allocations: 4.844 kB / 1.059 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/0.5722, allocations: 61.62 kB / 1.059 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.5722, allocations: 24.55 kB / 1.059 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.5723, allocations: 10.81 kB / 1.059 GB, free: 49.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002791/0.5726, allocations: 316.4 kB / 1.059 GB, free: 49.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5726, allocations: 0 / 1.059 GB, free: 49.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003798/0.573, allocations: 82.06 kB / 1.059 GB, free: 49.39 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 (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.0004881/0.5735, allocations: 168 kB / 1.059 GB, free: 49.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.575, allocations: 0.7981 MB / 1.06 GB, free: 49.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5751, allocations: 4 kB / 1.06 GB, free: 49.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007126/0.5758, allocations: 347.2 kB / 1.061 GB, free: 48.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.5762, allocations: 73.98 kB / 1.061 GB, free: 48.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.5777, allocations: 0.9138 MB / 1.062 GB, free: 48.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.578, allocations: 0.8062 MB / 1.062 GB, free: 47.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004123/0.5784, allocations: 99.23 kB / 1.062 GB, free: 47.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5785, allocations: 30.83 kB / 1.062 GB, free: 47.72 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.5785, allocations: 0 / 1.062 GB, free: 47.72 MB / 0.698 GB Notification: Performance of Templates: time 0.01072/0.5893, allocations: 6.691 MB / 1.069 GB, free: 47.25 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)