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: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009265/0.009266, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001138/0.001137, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.847/1.847, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.139/2.139, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004997, allocations: 16 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6235/0.624, allocations: 98.7 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.226/6.85, allocations: 2.488 GB / 3.171 GB, free: 279.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/6.851, allocations: 96.22 kB / 3.171 GB, free: 279.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.01/16.86, allocations: 2.247 GB / 5.418 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.068e-06/16.86, allocations: 0 / 5.418 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001102/16.86, allocations: 158.8 kB / 5.419 GB, free: 2.906 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.6531/17.51, allocations: 6.891 MB / 5.425 GB, free: 92.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/17.51, allocations: 7.594 kB / 5.425 GB, free: 92.08 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/17.52, allocations: 1.336 MB / 5.427 GB, free: 91.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02386/17.55, allocations: 7.158 MB / 5.434 GB, free: 91.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000573/17.55, allocations: 325.3 kB / 5.434 GB, free: 91.11 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/17.55, allocations: 455.9 kB / 5.434 GB, free: 91.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/17.57, allocations: 5.861 MB / 5.44 GB, free: 90.63 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/17.57, allocations: 11.58 kB / 5.44 GB, free: 90.63 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009145/17.57, allocations: 175.9 kB / 5.44 GB, free: 90.63 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002915/17.57, allocations: 197.4 kB / 5.441 GB, free: 90.62 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/17.58, allocations: 5.13 MB / 5.446 GB, free: 90.57 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.05104/17.64, allocations: 25.46 MB / 5.47 GB, free: 80.49 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007936/17.64, allocations: 4.242 MB / 5.475 GB, free: 79.87 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/17.64, allocations: 0.9093 MB / 5.475 GB, free: 78.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004527/17.65, allocations: 1.882 MB / 5.477 GB, free: 78.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=282): time 7.818e-06/17.65, allocations: 3.938 kB / 5.477 GB, free: 78.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=286): time 0.03111/17.68, allocations: 10.18 MB / 5.487 GB, free: 76.99 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/17.68, allocations: 237.4 kB / 5.487 GB, free: 76.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01011/17.69, allocations: 4.26 MB / 5.492 GB, free: 76.45 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007582/17.69, allocations: 88.73 kB / 5.492 GB, free: 76.42 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003399/17.69, allocations: 2.471 MB / 5.494 GB, free: 75.63 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/17.7, allocations: 0.9971 MB / 5.495 GB, free: 74.99 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/17.7, allocations: 56.91 kB / 5.495 GB, free: 74.99 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000258/17.7, allocations: 428.3 kB / 5.496 GB, free: 74.68 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003598/17.7, allocations: 1.533 MB / 5.497 GB, free: 74.68 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004708/17.71, allocations: 2.412 MB / 5.499 GB, free: 73.83 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/17.71, allocations: 2.006 MB / 5.501 GB, free: 73.75 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-05/17.71, allocations: 5.641 kB / 5.501 GB, free: 73.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.0121/17.72, allocations: 4.501 MB / 5.506 GB, free: 73.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001143/17.72, allocations: 5.729 MB / 5.511 GB, free: 67.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/17.72, allocations: 14.19 kB / 5.511 GB, free: 67.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/17.72, allocations: 212.9 kB / 5.512 GB, free: 67.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/17.73, allocations: 0.6634 MB / 5.512 GB, free: 67.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/17.73, allocations: 3.449 MB / 5.516 GB, free: 64.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007601/17.74, allocations: 0.5511 MB / 5.516 GB, free: 64.69 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008164/17.74, allocations: 122.6 kB / 5.516 GB, free: 64.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/17.74, allocations: 3.281 kB / 5.516 GB, free: 64.69 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01008/17.75, allocations: 4.036 MB / 5.52 GB, free: 64.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/17.75, allocations: 10.75 kB / 5.52 GB, free: 64.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007626/17.75, allocations: 214.4 kB / 5.52 GB, free: 64.53 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/17.76, allocations: 0.6496 MB / 5.521 GB, free: 64.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/17.76, allocations: 4.109 MB / 5.525 GB, free: 61.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007593/17.77, allocations: 0.5315 MB / 5.526 GB, free: 61.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008012/17.77, allocations: 119.9 kB / 5.526 GB, free: 61.76 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.005525/17.78, allocations: 2.202 MB / 5.528 GB, free: 61.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/17.78, allocations: 470.8 kB / 5.528 GB, free: 61.29 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/17.79, allocations: 4.187 MB / 5.532 GB, free: 61.04 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/17.79, allocations: 30 kB / 5.532 GB, free: 61.04 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/17.79, allocations: 0 / 5.532 GB, free: 61.04 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008494/17.8, allocations: 3.485 MB / 5.536 GB, free: 60.73 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.02693/17.82, allocations: 10.36 MB / 5.546 GB, free: 59.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/17.82, allocations: 7 kB / 5.546 GB, free: 59.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004451/17.83, allocations: 0.6567 MB / 5.547 GB, free: 59.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/17.83, allocations: 165.7 kB / 5.547 GB, free: 59.86 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000576/17.83, allocations: 82.86 kB / 5.547 GB, free: 59.86 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/17.83, allocations: 3.357 MB / 5.55 GB, free: 57.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.682e-06/17.83, allocations: 5.219 kB / 5.55 GB, free: 57.42 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/17.85, allocations: 6.845 MB / 5.557 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004479/17.85, allocations: 1.107 MB / 5.558 GB, free: 55.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/17.85, allocations: 77.53 kB / 5.558 GB, free: 55.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006362/17.86, allocations: 483.4 kB / 5.558 GB, free: 55.81 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007689/17.86, allocations: 170.7 kB / 5.559 GB, free: 55.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/17.86, allocations: 101.9 kB / 5.559 GB, free: 55.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.008344/17.87, allocations: 3.354 MB / 5.562 GB, free: 55.62 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.148e-06/17.87, allocations: 0 / 5.562 GB, free: 55.62 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01722/17.89, allocations: 2.986 MB / 5.565 GB, free: 55.6 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.005985/17.89, allocations: 3.133 MB / 5.568 GB, free: 54.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01415/17.91, allocations: 6.404 MB / 5.574 GB, free: 53.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/17.91, allocations: 7.312 kB / 5.574 GB, free: 53.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/17.91, allocations: 2.025 MB / 5.576 GB, free: 53.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01768/17.93, allocations: 2.951 MB / 5.579 GB, free: 53.57 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/17.96, allocations: 14.13 MB / 5.593 GB, free: 48.58 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007853/17.96, allocations: 4.223 MB / 5.597 GB, free: 47.76 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01211/17.98, allocations: 2.464 MB / 5.599 GB, free: 47.71 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/17.98, allocations: 358.9 kB / 5.6 GB, free: 47.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.571e-06/17.98, allocations: 0 / 5.6 GB, free: 47.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.2716/18.25, allocations: 131.3 MB / 5.728 GB, free: 6.391 MB / 0.9011 GB