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.AirHeater_u.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.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadModel(Buildings): time 3.82/3.82, allocations: 433.3 MB / 440.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.02e-05, allocations: 4 kB / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4974, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/5.92, allocations: 2.235 GB / 2.864 GB, free: 80.26 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/5.92, allocations: 97.25 kB / 2.864 GB, free: 80.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 8.596/14.52, allocations: 1.903 GB / 4.767 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.036e-06/14.52, allocations: 0 / 4.767 GB, free: 56.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000282/14.52, allocations: 59.19 kB / 4.767 GB, free: 56.09 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.006723/14.52, allocations: 2.625 MB / 4.769 GB, free: 53.42 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/14.52, allocations: 8.031 kB / 4.769 GB, free: 53.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/14.53, allocations: 0.7852 MB / 4.77 GB, free: 52.62 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007048/14.54, allocations: 2.363 MB / 4.772 GB, free: 50.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.552e-05/14.54, allocations: 48 kB / 4.773 GB, free: 50.21 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/14.54, allocations: 104 kB / 4.773 GB, free: 50.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003059/14.54, allocations: 1.275 MB / 4.774 GB, free: 48.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/14.54, allocations: 1.513 MB / 4.775 GB, free: 47.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/14.54, allocations: 4 kB / 4.775 GB, free: 47.24 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/14.54, allocations: 0 / 4.775 GB, free: 47.24 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.194e-05/14.54, allocations: 54.94 kB / 4.775 GB, free: 47.19 MB / 0.8542 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.01276/14.56, allocations: 7.794 MB / 4.783 GB, free: 38.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/14.56, allocations: 1.609 MB / 4.785 GB, free: 37.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009471/14.56, allocations: 0.5305 MB / 4.785 GB, free: 36.61 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004336/14.56, allocations: 218.9 kB / 4.785 GB, free: 36.36 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/14.56, allocations: 0.5535 MB / 4.786 GB, free: 35.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/14.56, allocations: 99.22 kB / 4.786 GB, free: 35.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=102): time 5.443e-06/14.56, allocations: 0 / 4.786 GB, free: 35.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=105): time 0.007959/14.57, allocations: 2.751 MB / 4.789 GB, free: 32.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/14.57, allocations: 167.5 kB / 4.789 GB, free: 32.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/14.57, allocations: 1.216 MB / 4.79 GB, free: 31.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002194/14.57, allocations: 29.7 kB / 4.79 GB, free: 31.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008588/14.57, allocations: 0.9676 MB / 4.791 GB, free: 30.42 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/14.57, allocations: 350.7 kB / 4.791 GB, free: 30.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/14.57, allocations: 8 kB / 4.791 GB, free: 30.06 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/14.57, allocations: 349.9 kB / 4.792 GB, free: 29.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/14.58, allocations: 414.5 kB / 4.792 GB, free: 29.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/14.58, allocations: 0.7746 MB / 4.793 GB, free: 28.38 MB / 0.8542 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005691/14.58, allocations: 1.294 MB / 4.794 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.395e-06/14.58, allocations: 4 kB / 4.794 GB, free: 27.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003589/14.59, allocations: 1.401 MB / 4.795 GB, free: 25.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005958/14.59, allocations: 3.04 MB / 4.798 GB, free: 22.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/14.59, allocations: 12 kB / 4.798 GB, free: 22.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/14.59, allocations: 52.78 kB / 4.798 GB, free: 22.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/14.59, allocations: 283.5 kB / 4.799 GB, free: 22.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/14.59, allocations: 1.439 MB / 4.8 GB, free: 20.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/14.59, allocations: 135.7 kB / 4.8 GB, free: 20.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/14.59, allocations: 59.97 kB / 4.8 GB, free: 20.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/14.59, allocations: 10.12 kB / 4.8 GB, free: 20.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002785/14.6, allocations: 1.156 MB / 4.801 GB, free: 19.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/14.6, allocations: 8 kB / 4.801 GB, free: 19.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/14.6, allocations: 49.34 kB / 4.801 GB, free: 19.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/14.6, allocations: 275.6 kB / 4.802 GB, free: 18.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/14.6, allocations: 1.435 MB / 4.803 GB, free: 17.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/14.6, allocations: 127.7 kB / 4.803 GB, free: 17.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/14.6, allocations: 59.98 kB / 4.803 GB, free: 17.08 MB / 0.8542 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004221/14.6, allocations: 152.5 kB / 4.803 GB, free: 16.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/14.6, allocations: 189.7 kB / 4.804 GB, free: 16.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/14.6, allocations: 1.202 MB / 4.805 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/14.6, allocations: 11.95 kB / 4.805 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.818e-06/14.6, allocations: 8 kB / 4.805 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002256/14.61, allocations: 0.9728 MB / 4.806 GB, free: 14.52 MB / 0.8542 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.007198/14.61, allocations: 3.146 MB / 4.809 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.952e-06/14.61, allocations: 0 / 4.809 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/14.62, allocations: 231.9 kB / 4.809 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/14.62, allocations: 65.67 kB / 4.809 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/14.62, allocations: 15.98 kB / 4.809 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/14.62, allocations: 2.672 MB / 4.812 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/14.62, allocations: 0 / 4.812 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/14.62, allocations: 1.934 MB / 4.814 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/14.62, allocations: 374.5 kB / 4.814 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/14.62, allocations: 15.95 kB / 4.814 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/14.63, allocations: 139.7 kB / 4.814 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/14.63, allocations: 73.2 kB / 4.814 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/14.63, allocations: 39.98 kB / 4.814 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00163/14.63, allocations: 0.9143 MB / 4.815 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.98e-07/14.63, allocations: 0 / 4.815 GB, free: 4.473 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004905/14.63, allocations: 1.156 MB / 4.816 GB, free: 3.316 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005495/14.64, allocations: 3.646 MB / 4.82 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005105/14.64, allocations: 2.124 MB / 4.822 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/14.64, allocations: 3.984 kB / 4.822 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/14.64, allocations: 0.719 MB / 4.823 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005739/14.65, allocations: 0.9326 MB / 4.824 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009315/14.66, allocations: 3.144 MB / 4.827 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/14.66, allocations: 1.641 MB / 4.828 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004585/14.67, allocations: 0.6884 MB / 4.829 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/14.67, allocations: 119.4 kB / 4.829 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of SimCode: time 1.826e-06/14.67, allocations: 0 / 4.829 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of Templates: time 0.6802/15.35, allocations: 53.73 MB / 4.881 GB, free: 101.5 MB / 0.8698 GB