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.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008909/0.008909, 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.001118/0.001118, allocations: 183.8 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.86/1.86, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.233/2.233, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004689, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5837, allocations: 98.71 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.32/6.904, allocations: 2.496 GB / 3.179 GB, free: 277.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/6.904, allocations: 101.3 kB / 3.179 GB, free: 277.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 12.04/18.94, allocations: 2.603 GB / 5.782 GB, free: 89.24 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.438e-06/18.94, allocations: 1.422 kB / 5.782 GB, free: 89.24 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001363/18.95, allocations: 169.2 kB / 5.782 GB, free: 89.21 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: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.0299/18.98, allocations: 7.479 MB / 5.789 GB, free: 86.75 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/18.98, allocations: 9.594 kB / 5.789 GB, free: 86.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/18.99, allocations: 1.505 MB / 5.791 GB, free: 86.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/19.01, allocations: 7.541 MB / 5.798 GB, free: 85.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004926/19.01, allocations: 380.4 kB / 5.799 GB, free: 85.42 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/19.01, allocations: 0.5013 MB / 5.799 GB, free: 85.41 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/19.04, allocations: 6.71 MB / 5.806 GB, free: 84.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/19.04, allocations: 18.41 kB / 5.806 GB, free: 84.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/19.04, allocations: 207 kB / 5.806 GB, free: 84.93 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003092/19.04, allocations: 214.5 kB / 5.806 GB, free: 84.92 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/19.05, allocations: 5.909 MB / 5.812 GB, free: 84.88 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.05661/19.11, allocations: 28.08 MB / 5.839 GB, free: 74.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008329/19.12, allocations: 4.338 MB / 5.844 GB, free: 73.86 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/19.12, allocations: 0.92 MB / 5.844 GB, free: 72.92 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005306/19.13, allocations: 2.182 MB / 5.847 GB, free: 72.79 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 7.999e-06/19.13, allocations: 0 / 5.847 GB, free: 72.79 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.03505/19.16, allocations: 11.6 MB / 5.858 GB, free: 70.82 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/19.16, allocations: 244.8 kB / 5.858 GB, free: 70.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/19.17, allocations: 4.588 MB / 5.863 GB, free: 70.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009067/19.17, allocations: 95.89 kB / 5.863 GB, free: 70.23 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004024/19.18, allocations: 2.757 MB / 5.865 GB, free: 69.35 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001741/19.18, allocations: 1.125 MB / 5.867 GB, free: 68.63 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/19.18, allocations: 66.53 kB / 5.867 GB, free: 68.63 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002805/19.18, allocations: 441.5 kB / 5.867 GB, free: 68.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004237/19.18, allocations: 1.787 MB / 5.869 GB, free: 68.31 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/19.19, allocations: 2.703 MB / 5.871 GB, free: 67.43 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/19.2, allocations: 2.309 MB / 5.874 GB, free: 67.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/19.2, allocations: 3.719 kB / 5.874 GB, free: 67.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01393/19.21, allocations: 5.117 MB / 5.879 GB, free: 66.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001241/19.21, allocations: 6.221 MB / 5.885 GB, free: 60.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.642e-05/19.21, allocations: 17.22 kB / 5.885 GB, free: 60.33 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008421/19.21, allocations: 213 kB / 5.885 GB, free: 60.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/19.22, allocations: 0.7554 MB / 5.886 GB, free: 60.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/19.22, allocations: 3.461 MB / 5.889 GB, free: 57.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008175/19.23, allocations: 0.5993 MB / 5.89 GB, free: 57.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009244/19.23, allocations: 135.2 kB / 5.89 GB, free: 57.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/19.23, allocations: 3.062 kB / 5.89 GB, free: 57.82 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01194/19.24, allocations: 4.626 MB / 5.894 GB, free: 57.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.574e-05/19.24, allocations: 18.78 kB / 5.894 GB, free: 57.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007904/19.24, allocations: 209.7 kB / 5.895 GB, free: 57.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004566/19.25, allocations: 0.7419 MB / 5.895 GB, free: 57.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/19.25, allocations: 4.116 MB / 5.899 GB, free: 54.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00793/19.26, allocations: 0.5763 MB / 5.9 GB, free: 54.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009072/19.26, allocations: 132.9 kB / 5.9 GB, free: 54.89 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (397): * Single equations (assignments): 391 * 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.006169/19.27, allocations: 2.422 MB / 5.902 GB, free: 54.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/19.27, allocations: 0.491 MB / 5.903 GB, free: 54.41 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/19.28, allocations: 4.864 MB / 5.908 GB, free: 54.14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/19.28, allocations: 32.61 kB / 5.908 GB, free: 54.14 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/19.28, allocations: 6.781 kB / 5.908 GB, free: 54.14 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009569/19.29, allocations: 4.037 MB / 5.912 GB, free: 53.84 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.03089/19.32, allocations: 11.79 MB / 5.923 GB, free: 52.97 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/19.32, allocations: 9.75 kB / 5.923 GB, free: 52.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004657/19.33, allocations: 0.7393 MB / 5.924 GB, free: 52.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/19.33, allocations: 166.5 kB / 5.924 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006294/19.33, allocations: 92.62 kB / 5.924 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/19.33, allocations: 3.352 MB / 5.927 GB, free: 50.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.268e-06/19.33, allocations: 6.844 kB / 5.927 GB, free: 50.51 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/19.35, allocations: 7.9 MB / 5.935 GB, free: 49.24 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004937/19.35, allocations: 1.215 MB / 5.936 GB, free: 48.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002153/19.35, allocations: 83.61 kB / 5.936 GB, free: 48.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007002/19.36, allocations: 0.5052 MB / 5.937 GB, free: 48.86 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008542/19.36, allocations: 197 kB / 5.937 GB, free: 48.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004303/19.36, allocations: 109.7 kB / 5.937 GB, free: 48.86 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.008709/19.37, allocations: 3.61 MB / 5.941 GB, free: 48.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.632e-06/19.37, allocations: 0 / 5.941 GB, free: 48.68 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01853/19.39, allocations: 3.181 MB / 5.944 GB, free: 48.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 (314): * Single equations (assignments): 306 * 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.006182/19.4, allocations: 3.205 MB / 5.947 GB, free: 47.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01613/19.41, allocations: 7.297 MB / 5.954 GB, free: 46.73 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/19.41, allocations: 6.406 kB / 5.954 GB, free: 46.73 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.005026/19.42, allocations: 2.349 MB / 5.956 GB, free: 46.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01758/19.44, allocations: 3.077 MB / 5.959 GB, free: 46.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/19.47, allocations: 15.66 MB / 5.975 GB, free: 40.97 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008876/19.48, allocations: 4.688 MB / 5.979 GB, free: 40.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01333/19.49, allocations: 2.663 MB / 5.982 GB, free: 40.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/19.49, allocations: 382.2 kB / 5.982 GB, free: 40.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.702e-06/19.49, allocations: 0 / 5.982 GB, free: 40.06 MB / 0.9011 GB Notification: Performance of Templates: time 0.2932/19.78, allocations: 138.2 MB / 6.117 GB, free: 3.438 MB / 0.9323 GB