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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.823/3.823, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.69e-05, allocations: 4.469 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 98.72 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.275, allocations: 2.498 GB / 3.133 GB, free: 123.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/6.275, allocations: 86.77 kB / 3.133 GB, free: 123.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.25/16.53, allocations: 2.243 GB / 5.376 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.883e-06/16.53, allocations: 3.938 kB / 5.376 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001079/16.53, allocations: 154.5 kB / 5.376 GB, free: 79.35 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.02065/16.55, allocations: 5.66 MB / 5.382 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/16.55, allocations: 6.594 kB / 5.382 GB, free: 77.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/16.56, allocations: 1.337 MB / 5.383 GB, free: 76.68 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/16.58, allocations: 7.111 MB / 5.39 GB, free: 75.79 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004725/16.58, allocations: 327.2 kB / 5.39 GB, free: 75.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/16.58, allocations: 448.7 kB / 5.391 GB, free: 75.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/16.6, allocations: 5.764 MB / 5.396 GB, free: 75.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/16.6, allocations: 11.31 kB / 5.396 GB, free: 75.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/16.6, allocations: 172.7 kB / 5.397 GB, free: 75.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/16.6, allocations: 203.2 kB / 5.397 GB, free: 75.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/16.61, allocations: 4.967 MB / 5.402 GB, free: 75.24 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.0472/16.66, allocations: 25.46 MB / 5.427 GB, free: 64.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006961/16.67, allocations: 4.144 MB / 5.431 GB, free: 64.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004119/16.67, allocations: 2.132 MB / 5.433 GB, free: 64.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/16.67, allocations: 0.9099 MB / 5.434 GB, free: 63.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003862/16.68, allocations: 1.829 MB / 5.435 GB, free: 63.09 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=282): time 8.121e-06/16.68, allocations: 3.609 kB / 5.435 GB, free: 63.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=286): time 0.02401/16.7, allocations: 8.263 MB / 5.443 GB, free: 61.44 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/16.7, allocations: 244.5 kB / 5.444 GB, free: 61.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009733/16.71, allocations: 4.208 MB / 5.448 GB, free: 59.94 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007466/16.71, allocations: 86.64 kB / 5.448 GB, free: 59.87 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003237/16.72, allocations: 2.477 MB / 5.45 GB, free: 57.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/16.72, allocations: 0.9925 MB / 5.451 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/16.72, allocations: 62.91 kB / 5.451 GB, free: 57.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002301/16.72, allocations: 423.3 kB / 5.452 GB, free: 56.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/16.72, allocations: 1.468 MB / 5.453 GB, free: 56.29 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/16.72, allocations: 2.351 MB / 5.455 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0039/16.73, allocations: 1.951 MB / 5.457 GB, free: 54.06 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/16.73, allocations: 3.5 kB / 5.457 GB, free: 54.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01031/16.74, allocations: 4.384 MB / 5.462 GB, free: 52.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/16.74, allocations: 5.735 MB / 5.467 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.954e-05/16.74, allocations: 13.75 kB / 5.467 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/16.74, allocations: 207.9 kB / 5.467 GB, free: 46.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004056/16.75, allocations: 0.6596 MB / 5.468 GB, free: 45.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/16.75, allocations: 3.41 MB / 5.471 GB, free: 43.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/16.76, allocations: 0.549 MB / 5.472 GB, free: 42.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007539/16.76, allocations: 120.9 kB / 5.472 GB, free: 42.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/16.76, allocations: 5.938 kB / 5.472 GB, free: 42.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008571/16.77, allocations: 3.947 MB / 5.476 GB, free: 41.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.935e-05/16.77, allocations: 15.38 kB / 5.476 GB, free: 41.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000732/16.77, allocations: 216.3 kB / 5.476 GB, free: 41.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0038/16.77, allocations: 0.6457 MB / 5.477 GB, free: 41.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/16.78, allocations: 4.054 MB / 5.481 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007271/16.78, allocations: 0.5385 MB / 5.481 GB, free: 37.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007508/16.78, allocations: 118.5 kB / 5.481 GB, free: 37.87 MB / 0.8855 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 () * 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.0009741/16.78, allocations: 321.4 kB / 5.482 GB, free: 37.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/16.79, allocations: 474.8 kB / 5.482 GB, free: 37.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/16.8, allocations: 4.084 MB / 5.486 GB, free: 34.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-05/16.8, allocations: 28 kB / 5.486 GB, free: 34.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/16.8, allocations: 6.188 kB / 5.486 GB, free: 34.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007008/16.8, allocations: 3.38 MB / 5.489 GB, free: 31.35 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.02421/16.83, allocations: 10.26 MB / 5.499 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/16.83, allocations: 4 kB / 5.499 GB, free: 22.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/16.83, allocations: 0.6608 MB / 5.5 GB, free: 22.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006599/16.83, allocations: 155.3 kB / 5.5 GB, free: 22.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005417/16.83, allocations: 88.42 kB / 5.5 GB, free: 22.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002924/16.83, allocations: 3.319 MB / 5.504 GB, free: 18.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.845e-06/16.84, allocations: 7.953 kB / 5.504 GB, free: 18.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/16.85, allocations: 6.697 MB / 5.51 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004064/16.85, allocations: 1.096 MB / 5.511 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001731/16.85, allocations: 71.75 kB / 5.511 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0063/16.86, allocations: 484.5 kB / 5.512 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007042/16.86, allocations: 179.1 kB / 5.512 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004079/16.86, allocations: 102.8 kB / 5.512 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007806/16.87, allocations: 3.301 MB / 5.515 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.129e-06/16.87, allocations: 0 / 5.515 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01669/16.89, allocations: 2.984 MB / 5.518 GB, free: 5.281 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.005894/16.89, allocations: 3.134 MB / 5.521 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01644/16.91, allocations: 6.481 MB / 5.528 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/16.91, allocations: 4.781 kB / 5.528 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.004894/16.91, allocations: 1.984 MB / 5.529 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01777/16.93, allocations: 2.943 MB / 5.532 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6585/17.59, allocations: 10.41 MB / 5.543 GB, free: 99.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009018/17.6, allocations: 4.228 MB / 5.547 GB, free: 98.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01961/17.62, allocations: 4.098 MB / 5.551 GB, free: 98.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/17.62, allocations: 278.8 kB / 5.551 GB, free: 98.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.929e-06/17.62, allocations: 1.375 kB / 5.551 GB, free: 98.34 MB / 0.9011 GB Notification: Performance of Templates: time 0.2868/17.91, allocations: 146.3 MB / 5.694 GB, free: 92.75 MB / 0.9011 GB