Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01098/0.01098, allocations: 106.1 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001224/0.001224, allocations: 180.8 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.009/2.009, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.515/2.515, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008675/0.0008673, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8458, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.006/8.852, allocations: 2.488 GB / 3.171 GB, free: 203.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/8.852, allocations: 100 kB / 3.172 GB, free: 203.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.5/21.35, allocations: 2.247 GB / 5.419 GB, free: 97.54 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.096e-06/21.35, allocations: 2.906 kB / 5.419 GB, free: 97.54 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001385/21.35, allocations: 153 kB / 5.419 GB, free: 97.52 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.03479/21.39, allocations: 6.894 MB / 5.425 GB, free: 95.15 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/21.39, allocations: 13.06 kB / 5.425 GB, free: 95.15 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003402/21.39, allocations: 0.5883 MB / 5.426 GB, free: 95.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/21.41, allocations: 1.336 MB / 5.427 GB, free: 94.74 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02671/21.43, allocations: 7.161 MB / 5.434 GB, free: 93.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000551/21.43, allocations: 325.9 kB / 5.435 GB, free: 93.84 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/21.44, allocations: 444.2 kB / 5.435 GB, free: 93.83 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/21.46, allocations: 5.875 MB / 5.441 GB, free: 93.36 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/21.46, allocations: 7.906 kB / 5.441 GB, free: 93.36 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/21.46, allocations: 174.7 kB / 5.441 GB, free: 93.36 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002906/21.46, allocations: 199.2 kB / 5.441 GB, free: 93.35 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/21.48, allocations: 5.132 MB / 5.446 GB, free: 93.3 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05982/21.54, allocations: 25.46 MB / 5.471 GB, free: 83.03 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009774/21.55, allocations: 4.232 MB / 5.475 GB, free: 82.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/21.55, allocations: 0.9168 MB / 5.476 GB, free: 81.46 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005702/21.56, allocations: 1.878 MB / 5.478 GB, free: 81.32 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=282): time 8.406e-06/21.56, allocations: 0 / 5.478 GB, free: 81.32 MB / 0.9011 GB Notification: Performance of matching and sorting (n=286): time 0.03782/21.59, allocations: 10.18 MB / 5.488 GB, free: 79.38 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/21.59, allocations: 241.2 kB / 5.488 GB, free: 79.12 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01267/21.61, allocations: 4.257 MB / 5.492 GB, free: 78.84 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/21.61, allocations: 92.2 kB / 5.492 GB, free: 78.81 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004194/21.61, allocations: 2.476 MB / 5.495 GB, free: 78.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002072/21.61, allocations: 0.9922 MB / 5.496 GB, free: 77.38 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004264/21.61, allocations: 61.47 kB / 5.496 GB, free: 77.38 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002922/21.61, allocations: 430.8 kB / 5.496 GB, free: 77.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/21.62, allocations: 1.532 MB / 5.498 GB, free: 77.06 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/21.63, allocations: 2.403 MB / 5.5 GB, free: 76.22 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005745/21.63, allocations: 2.013 MB / 5.502 GB, free: 76.13 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/21.63, allocations: 3.781 kB / 5.502 GB, free: 76.13 MB / 0.9011 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01458/21.65, allocations: 4.507 MB / 5.506 GB, free: 75.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001323/21.65, allocations: 5.724 MB / 5.512 GB, free: 69.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.812e-05/21.65, allocations: 16.97 kB / 5.512 GB, free: 69.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/21.65, allocations: 199.6 kB / 5.512 GB, free: 69.55 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/21.65, allocations: 0.6671 MB / 5.513 GB, free: 69.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/21.66, allocations: 3.456 MB / 5.516 GB, free: 67.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/21.67, allocations: 0.5489 MB / 5.517 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/21.67, allocations: 119.7 kB / 5.517 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/21.67, allocations: 5.344 kB / 5.517 GB, free: 67.07 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01234/21.68, allocations: 4.035 MB / 5.521 GB, free: 66.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.323e-05/21.68, allocations: 15.7 kB / 5.521 GB, free: 66.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009207/21.68, allocations: 211.8 kB / 5.521 GB, free: 66.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005612/21.69, allocations: 0.6443 MB / 5.522 GB, free: 66.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006002/21.69, allocations: 4.113 MB / 5.526 GB, free: 64.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/21.7, allocations: 0.5395 MB / 5.526 GB, free: 64.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/21.71, allocations: 119.9 kB / 5.526 GB, free: 64.12 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 347 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.007362/21.71, allocations: 2.19 MB / 5.528 GB, free: 63.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002458/21.72, allocations: 469.2 kB / 5.529 GB, free: 63.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/21.73, allocations: 4.189 MB / 5.533 GB, free: 63.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/21.73, allocations: 33.45 kB / 5.533 GB, free: 63.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/21.73, allocations: 0 / 5.533 GB, free: 63.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009875/21.74, allocations: 3.495 MB / 5.536 GB, free: 63.09 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0314/21.77, allocations: 10.37 MB / 5.547 GB, free: 62.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/21.77, allocations: 2.906 kB / 5.547 GB, free: 62.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006043/21.78, allocations: 0.6483 MB / 5.547 GB, free: 62.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008117/21.78, allocations: 168.2 kB / 5.547 GB, free: 62.21 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000627/21.78, allocations: 84.5 kB / 5.547 GB, free: 62.21 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/21.78, allocations: 3.357 MB / 5.551 GB, free: 59.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/21.78, allocations: 3.875 kB / 5.551 GB, free: 59.77 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/21.8, allocations: 6.857 MB / 5.557 GB, free: 58.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005109/21.81, allocations: 1.099 MB / 5.558 GB, free: 58.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/21.81, allocations: 75.95 kB / 5.559 GB, free: 58.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008316/21.82, allocations: 476.5 kB / 5.559 GB, free: 58.15 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009299/21.82, allocations: 183.4 kB / 5.559 GB, free: 58.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004302/21.82, allocations: 102.4 kB / 5.559 GB, free: 58.14 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009552/21.83, allocations: 3.348 MB / 5.563 GB, free: 57.96 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.01e-07/21.83, allocations: 0 / 5.563 GB, free: 57.96 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01981/21.85, allocations: 2.987 MB / 5.565 GB, free: 57.89 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 266 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0242/21.87, allocations: 11.08 MB / 5.576 GB, free: 53.52 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01815/21.89, allocations: 6.397 MB / 5.583 GB, free: 51.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.741e-05/21.89, allocations: 6.766 kB / 5.583 GB, free: 51.08 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005608/21.89, allocations: 2.043 MB / 5.585 GB, free: 50.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02482/21.92, allocations: 2.952 MB / 5.587 GB, free: 49.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05253/21.97, allocations: 31.31 MB / 5.618 GB, free: 25.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00857/21.98, allocations: 4.221 MB / 5.622 GB, free: 24.15 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01361/21.99, allocations: 2.47 MB / 5.625 GB, free: 23.96 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006767/22, allocations: 2.322 MB / 5.627 GB, free: 22.12 MB / 0.9011 GB Notification: Performance of SimCode: time 1.223e-06/22, allocations: 0 / 5.627 GB, free: 22.12 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.209/23.21, allocations: 187.6 MB / 5.81 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/23.21, allocations: 281.9 kB / 5.81 GB, free: 113.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/33.98, allocations: 0 / 5.81 GB, free: 113.1 MB / 0.9167 GB