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.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadModel(Buildings): time 3.87/3.87, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.253e-05, allocations: 4 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4963, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.642, allocations: 2.505 GB / 3.134 GB, free: 189.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/6.642, allocations: 95.94 kB / 3.134 GB, free: 189.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 11.64/18.28, allocations: 2.576 GB / 5.71 GB, free: 74.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.6e-06/18.28, allocations: 0 / 5.71 GB, free: 74.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001127/18.28, allocations: 172.7 kB / 5.711 GB, free: 74.38 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: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.02145/18.3, allocations: 6.179 MB / 5.717 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/18.3, allocations: 10.66 kB / 5.717 GB, free: 72.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/18.32, allocations: 1.496 MB / 5.718 GB, free: 71.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.022/18.34, allocations: 7.493 MB / 5.725 GB, free: 70.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/18.34, allocations: 155.6 kB / 5.726 GB, free: 70.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/18.34, allocations: 301.9 kB / 5.726 GB, free: 70.77 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01465/18.36, allocations: 5.346 MB / 5.731 GB, free: 70.74 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/18.37, allocations: 5.892 MB / 5.737 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/18.38, allocations: 8.219 kB / 5.737 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001366/18.38, allocations: 3.781 kB / 5.737 GB, free: 70.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002453/18.38, allocations: 225.2 kB / 5.737 GB, free: 70.27 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.05096/18.43, allocations: 27.18 MB / 5.764 GB, free: 60.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/18.44, allocations: 5.143 MB / 5.769 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00446/18.44, allocations: 2.35 MB / 5.771 GB, free: 58.36 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/18.44, allocations: 0.9197 MB / 5.772 GB, free: 57.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004594/18.45, allocations: 2.147 MB / 5.774 GB, free: 57.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=322): time 8.191e-06/18.45, allocations: 0 / 5.774 GB, free: 57.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=326): time 0.03504/18.48, allocations: 10.78 MB / 5.784 GB, free: 54.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/18.48, allocations: 296.3 kB / 5.785 GB, free: 53.96 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009373/18.49, allocations: 4.156 MB / 5.789 GB, free: 53.68 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0008025/18.49, allocations: 32.98 kB / 5.789 GB, free: 53.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003587/18.49, allocations: 2.742 MB / 5.791 GB, free: 52.71 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/18.5, allocations: 1.08 MB / 5.792 GB, free: 51.99 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/18.5, allocations: 0 / 5.792 GB, free: 51.99 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002618/18.5, allocations: 444.7 kB / 5.793 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/18.5, allocations: 1.642 MB / 5.795 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/18.5, allocations: 2.539 MB / 5.797 GB, free: 50.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005247/18.51, allocations: 2.216 MB / 5.799 GB, free: 50.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/18.51, allocations: 3.656 kB / 5.799 GB, free: 50.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01211/18.52, allocations: 4.731 MB / 5.804 GB, free: 50.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/18.52, allocations: 6.391 MB / 5.81 GB, free: 43.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.298e-05/18.52, allocations: 19.19 kB / 5.81 GB, free: 43.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/18.52, allocations: 192 kB / 5.81 GB, free: 43.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004486/18.53, allocations: 0.7606 MB / 5.811 GB, free: 43.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/18.53, allocations: 3.387 MB / 5.814 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/18.54, allocations: 0.5216 MB / 5.815 GB, free: 41.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009088/18.54, allocations: 136.1 kB / 5.815 GB, free: 41.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/18.54, allocations: 6.672 kB / 5.815 GB, free: 41.08 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0103/18.55, allocations: 4.173 MB / 5.819 GB, free: 40.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-05/18.55, allocations: 18.75 kB / 5.819 GB, free: 40.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/18.55, allocations: 198.7 kB / 5.819 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/18.56, allocations: 0.742 MB / 5.82 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004765/18.56, allocations: 3.919 MB / 5.824 GB, free: 38.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007368/18.57, allocations: 0.508 MB / 5.824 GB, free: 38.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008718/18.57, allocations: 137.1 kB / 5.824 GB, free: 38.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (398): * Single equations (assignments): 392 * 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.001166/18.57, allocations: 225.4 kB / 5.825 GB, free: 38.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/18.57, allocations: 490.5 kB / 5.825 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/18.58, allocations: 4.41 MB / 5.829 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/18.58, allocations: 37.77 kB / 5.829 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/18.58, allocations: 2.344 kB / 5.829 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008769/18.59, allocations: 3.705 MB / 5.833 GB, free: 37.38 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.0269/18.62, allocations: 10.96 MB / 5.844 GB, free: 34.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/18.62, allocations: 2.594 kB / 5.844 GB, free: 34.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004453/18.62, allocations: 0.7399 MB / 5.844 GB, free: 34.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/18.63, allocations: 153.8 kB / 5.845 GB, free: 34.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005825/18.63, allocations: 48.89 kB / 5.845 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/18.63, allocations: 3.259 MB / 5.848 GB, free: 31.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-06/18.63, allocations: 3.969 kB / 5.848 GB, free: 31.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/18.64, allocations: 7.4 MB / 5.855 GB, free: 27.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004441/18.65, allocations: 1.19 MB / 5.856 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/18.65, allocations: 32.55 kB / 5.856 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006553/18.66, allocations: 459.4 kB / 5.857 GB, free: 27.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000791/18.66, allocations: 196.1 kB / 5.857 GB, free: 27.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004472/18.66, allocations: 114.2 kB / 5.857 GB, free: 27.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007391/18.67, allocations: 3.22 MB / 5.86 GB, free: 25.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.064e-06/18.67, allocations: 0 / 5.86 GB, free: 25.96 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01771/18.68, allocations: 2.949 MB / 5.863 GB, free: 25.73 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 (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.006118/18.69, allocations: 3.432 MB / 5.866 GB, free: 24.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01361/18.7, allocations: 6.936 MB / 5.873 GB, free: 20.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/18.7, allocations: 4.781 kB / 5.873 GB, free: 20.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/18.71, allocations: 2.171 MB / 5.875 GB, free: 18.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/18.72, allocations: 2.939 MB / 5.878 GB, free: 16.54 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/18.75, allocations: 11.36 MB / 5.889 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008608/18.76, allocations: 4.699 MB / 5.894 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02066/18.78, allocations: 4.448 MB / 5.898 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001611/18.78, allocations: 297.6 kB / 5.898 GB, free: 492 kB / 0.8855 GB Notification: Performance of SimCode: time 1.696e-06/18.78, allocations: 0 / 5.898 GB, free: 492 kB / 0.8855 GB Notification: Performance of Templates: time 0.91/19.69, allocations: 121.2 MB / 6.017 GB, free: 92.29 MB / 0.9011 GB