Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.857/3.857, allocations: 433.3 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.504e-05, allocations: 8 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4912, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.024/6.516, allocations: 2.498 GB / 3.127 GB, free: 197.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/6.516, allocations: 95.89 kB / 3.127 GB, free: 197.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.39/16.91, allocations: 2.224 GB / 5.351 GB, free: 92.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.198e-06/16.91, allocations: 0 / 5.351 GB, free: 92.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00119/16.91, allocations: 150.9 kB / 5.351 GB, free: 92.17 MB / 0.8855 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.02107/16.93, allocations: 5.659 MB / 5.356 GB, free: 90.23 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/16.93, allocations: 12.12 kB / 5.356 GB, free: 90.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/16.94, allocations: 1.331 MB / 5.358 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02174/16.96, allocations: 7.107 MB / 5.365 GB, free: 89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/16.96, allocations: 137.8 kB / 5.365 GB, free: 89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/16.97, allocations: 265 kB / 5.365 GB, free: 89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01325/16.98, allocations: 4.617 MB / 5.369 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/17, allocations: 5.14 MB / 5.374 GB, free: 88.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000215/17, allocations: 10.84 kB / 5.375 GB, free: 88.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001309/17, allocations: 5.156 kB / 5.375 GB, free: 88.53 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/17, allocations: 205.2 kB / 5.375 GB, free: 88.52 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.04644/17.05, allocations: 24.69 MB / 5.399 GB, free: 78.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00761/17.05, allocations: 5.052 MB / 5.404 GB, free: 76.76 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/17.06, allocations: 2.044 MB / 5.406 GB, free: 76.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/17.06, allocations: 0.9109 MB / 5.407 GB, free: 75.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004115/17.06, allocations: 1.851 MB / 5.408 GB, free: 75.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=282): time 7.979e-06/17.06, allocations: 2.25 kB / 5.408 GB, free: 75.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=286): time 0.03248/17.1, allocations: 9.436 MB / 5.418 GB, free: 72.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/17.1, allocations: 293.1 kB / 5.418 GB, free: 72.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008995/17.1, allocations: 3.909 MB / 5.422 GB, free: 72.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007148/17.1, allocations: 33.05 kB / 5.422 GB, free: 72.24 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003466/17.11, allocations: 2.489 MB / 5.424 GB, free: 71.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/17.11, allocations: 0.9516 MB / 5.425 GB, free: 70.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/17.11, allocations: 3.562 kB / 5.425 GB, free: 70.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002622/17.11, allocations: 428.4 kB / 5.426 GB, free: 70.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/17.11, allocations: 1.409 MB / 5.427 GB, free: 70.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003906/17.12, allocations: 2.261 MB / 5.429 GB, free: 69.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/17.12, allocations: 1.921 MB / 5.431 GB, free: 69.56 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.989e-05/17.12, allocations: 4.281 kB / 5.431 GB, free: 69.56 MB / 0.8855 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01165/17.13, allocations: 4.157 MB / 5.435 GB, free: 69.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/17.14, allocations: 5.902 MB / 5.441 GB, free: 63.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.847e-05/17.14, allocations: 15.66 kB / 5.441 GB, free: 63.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/17.14, allocations: 199.2 kB / 5.441 GB, free: 63.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004358/17.14, allocations: 0.6687 MB / 5.442 GB, free: 63.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/17.14, allocations: 3.381 MB / 5.445 GB, free: 60.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007154/17.15, allocations: 0.493 MB / 5.445 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008161/17.15, allocations: 125.3 kB / 5.446 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/17.15, allocations: 2.875 kB / 5.446 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009775/17.16, allocations: 3.635 MB / 5.449 GB, free: 60.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-05/17.16, allocations: 16.94 kB / 5.449 GB, free: 60.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/17.16, allocations: 197.5 kB / 5.449 GB, free: 60.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003859/17.17, allocations: 0.6472 MB / 5.45 GB, free: 60.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/17.17, allocations: 3.918 MB / 5.454 GB, free: 57.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/17.18, allocations: 482.1 kB / 5.454 GB, free: 57.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007617/17.18, allocations: 118.7 kB / 5.454 GB, free: 57.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 348 * 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.0009568/17.18, allocations: 210.4 kB / 5.455 GB, free: 57.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/17.18, allocations: 468.7 kB / 5.455 GB, free: 57.42 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009726/17.19, allocations: 3.807 MB / 5.459 GB, free: 57.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-05/17.19, allocations: 29.31 kB / 5.459 GB, free: 57.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/17.19, allocations: 3.234 kB / 5.459 GB, free: 57.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007427/17.2, allocations: 3.185 MB / 5.462 GB, free: 56.92 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.024/17.22, allocations: 9.655 MB / 5.471 GB, free: 55.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/17.22, allocations: 2.594 kB / 5.471 GB, free: 55.94 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00455/17.23, allocations: 0.6579 MB / 5.472 GB, free: 55.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/17.23, allocations: 153.5 kB / 5.472 GB, free: 55.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005462/17.23, allocations: 47.95 kB / 5.472 GB, free: 55.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/17.23, allocations: 3.255 MB / 5.475 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/17.23, allocations: 11.72 kB / 5.475 GB, free: 53.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/17.25, allocations: 6.399 MB / 5.482 GB, free: 52.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004137/17.25, allocations: 1.086 MB / 5.483 GB, free: 52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00175/17.25, allocations: 30.09 kB / 5.483 GB, free: 52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006915/17.26, allocations: 428.1 kB / 5.483 GB, free: 51.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007955/17.26, allocations: 181.3 kB / 5.483 GB, free: 51.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004251/17.26, allocations: 99.59 kB / 5.483 GB, free: 51.96 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007308/17.27, allocations: 3.02 MB / 5.486 GB, free: 51.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.226e-06/17.27, allocations: 0 / 5.486 GB, free: 51.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01726/17.28, allocations: 2.777 MB / 5.489 GB, free: 51.71 MB / 0.8855 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) * 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.006053/17.29, allocations: 3.357 MB / 5.492 GB, free: 50.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01245/17.3, allocations: 6.091 MB / 5.498 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/17.3, allocations: 4.25 kB / 5.498 GB, free: 49.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003798/17.31, allocations: 1.877 MB / 5.5 GB, free: 49.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01705/17.32, allocations: 2.812 MB / 5.503 GB, free: 48.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/17.35, allocations: 10.25 MB / 5.513 GB, free: 45.32 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007706/17.36, allocations: 4.238 MB / 5.517 GB, free: 43.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01755/17.37, allocations: 3.939 MB / 5.521 GB, free: 43.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/17.37, allocations: 278.9 kB / 5.521 GB, free: 43.62 MB / 0.8855 GB Notification: Performance of SimCode: time 2.072e-06/17.37, allocations: 0 / 5.521 GB, free: 43.62 MB / 0.8855 GB Notification: Performance of Templates: time 0.8493/18.22, allocations: 114.6 MB / 5.633 GB, free: 113.4 MB / 0.9011 GB