Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.149/2.149, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001547, allocations: 179.2 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.283/2.283, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 97.98 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004701, allocations: 13.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2184, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.415/7.633, allocations: 2.511 GB / 3.41 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/7.634, allocations: 98.94 kB / 3.41 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.15/21.78, allocations: 2.61 GB / 6.02 GB, free: 83.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.507e-06/21.78, allocations: 0 / 6.02 GB, free: 83.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001498/21.78, allocations: 173.4 kB / 6.021 GB, free: 83.15 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.03575/21.82, allocations: 7.489 MB / 6.028 GB, free: 80.37 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/21.82, allocations: 11.41 kB / 6.028 GB, free: 80.37 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/21.83, allocations: 1.506 MB / 6.029 GB, free: 79.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02825/21.86, allocations: 7.488 MB / 6.037 GB, free: 79.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006126/21.86, allocations: 378.9 kB / 6.037 GB, free: 79.04 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002609/21.87, allocations: 0.5024 MB / 6.037 GB, free: 79.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/21.89, allocations: 6.741 MB / 6.044 GB, free: 78.56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003549/21.89, allocations: 14.38 kB / 6.044 GB, free: 78.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/21.89, allocations: 206.2 kB / 6.044 GB, free: 78.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003305/21.89, allocations: 219.8 kB / 6.044 GB, free: 78.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02063/21.92, allocations: 5.922 MB / 6.05 GB, free: 78.49 MB / 0.948 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.06694/21.98, allocations: 28.14 MB / 6.078 GB, free: 68.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/21.99, allocations: 4.324 MB / 6.082 GB, free: 67.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/21.99, allocations: 0.918 MB / 6.083 GB, free: 66.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006907/22, allocations: 2.211 MB / 6.085 GB, free: 66.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 7.494e-06/22, allocations: 0.75 kB / 6.085 GB, free: 66.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.04396/22.05, allocations: 11.71 MB / 6.096 GB, free: 64.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/22.05, allocations: 242.8 kB / 6.097 GB, free: 64.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01398/22.06, allocations: 4.596 MB / 6.101 GB, free: 63.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001194/22.06, allocations: 97.3 kB / 6.101 GB, free: 63.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004871/22.07, allocations: 2.753 MB / 6.104 GB, free: 62.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002271/22.07, allocations: 1.132 MB / 6.105 GB, free: 62.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/22.07, allocations: 67.5 kB / 6.105 GB, free: 62.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000336/22.07, allocations: 445.9 kB / 6.106 GB, free: 61.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005283/22.07, allocations: 1.788 MB / 6.107 GB, free: 61.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006712/22.08, allocations: 2.713 MB / 6.11 GB, free: 61.01 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00681/22.09, allocations: 2.309 MB / 6.112 GB, free: 60.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/22.09, allocations: 3.188 kB / 6.112 GB, free: 60.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0174/22.11, allocations: 5.171 MB / 6.117 GB, free: 60.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001459/22.11, allocations: 6.211 MB / 6.123 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.199e-05/22.11, allocations: 17.31 kB / 6.123 GB, free: 53.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/22.11, allocations: 220 kB / 6.124 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006869/22.11, allocations: 0.7527 MB / 6.124 GB, free: 53.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/22.12, allocations: 3.456 MB / 6.128 GB, free: 51.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/22.13, allocations: 0.5976 MB / 6.128 GB, free: 50.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/22.13, allocations: 129.9 kB / 6.128 GB, free: 50.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/22.13, allocations: 4.344 kB / 6.128 GB, free: 50.89 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01501/22.15, allocations: 4.717 MB / 6.133 GB, free: 49.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-05/22.15, allocations: 14.75 kB / 6.133 GB, free: 49.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/22.15, allocations: 215.2 kB / 6.133 GB, free: 49.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006471/22.15, allocations: 0.743 MB / 6.134 GB, free: 49.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/22.16, allocations: 4.128 MB / 6.138 GB, free: 45.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/22.17, allocations: 0.5773 MB / 6.139 GB, free: 45.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/22.17, allocations: 132.6 kB / 6.139 GB, free: 45.59 MB / 0.948 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 (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.007078/22.18, allocations: 2.432 MB / 6.141 GB, free: 44.52 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002029/22.18, allocations: 0.5014 MB / 6.142 GB, free: 44.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/22.2, allocations: 4.928 MB / 6.146 GB, free: 42.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.055e-05/22.2, allocations: 32.59 kB / 6.146 GB, free: 42.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/22.2, allocations: 0 / 6.146 GB, free: 42.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01263/22.21, allocations: 4.115 MB / 6.15 GB, free: 40.66 MB / 0.948 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.03698/22.25, allocations: 11.98 MB / 6.162 GB, free: 35.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/22.25, allocations: 3.938 kB / 6.162 GB, free: 35.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006932/22.25, allocations: 0.7431 MB / 6.163 GB, free: 35.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/22.25, allocations: 168.8 kB / 6.163 GB, free: 35.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008445/22.25, allocations: 97.64 kB / 6.163 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/22.26, allocations: 3.358 MB / 6.166 GB, free: 32.65 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/22.26, allocations: 7.656 kB / 6.166 GB, free: 32.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/22.28, allocations: 8.068 MB / 6.174 GB, free: 28.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00557/22.28, allocations: 1.244 MB / 6.175 GB, free: 28.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002341/22.29, allocations: 84.42 kB / 6.176 GB, free: 28.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008928/22.3, allocations: 0.5058 MB / 6.176 GB, free: 27.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/22.3, allocations: 204.4 kB / 6.176 GB, free: 27.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005318/22.3, allocations: 118.5 kB / 6.176 GB, free: 27.94 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01046/22.31, allocations: 3.619 MB / 6.18 GB, free: 26.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.523e-06/22.31, allocations: 3.906 kB / 6.18 GB, free: 26.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02114/22.33, allocations: 3.184 MB / 6.183 GB, free: 23.95 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (318): * Single equations (assignments): 310 * 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.007109/22.34, allocations: 3.208 MB / 6.186 GB, free: 21.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02004/22.36, allocations: 7.332 MB / 6.193 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/22.36, allocations: 1.281 kB / 6.193 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006342/22.36, allocations: 2.352 MB / 6.196 GB, free: 12.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02573/22.39, allocations: 3.076 MB / 6.199 GB, free: 10.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/22.43, allocations: 15.75 MB / 6.214 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/22.44, allocations: 4.695 MB / 6.219 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01778/22.46, allocations: 2.673 MB / 6.221 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00304/22.46, allocations: 389.4 kB / 6.222 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of SimCode: time 1.162e-06/22.46, allocations: 0 / 6.222 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of Templates: time 1.129/23.59, allocations: 138.9 MB / 6.357 GB, free: 95.37 MB / 0.9636 GB