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.26/2.26, allocations: 252.6 MB / 265.2 MB, free: 5.754 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 185.4 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001163/0.001163, allocations: 106.2 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.993e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.294/8.489, allocations: 2.511 GB / 3.406 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/8.489, allocations: 97.94 kB / 3.406 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 14.14/22.63, allocations: 2.606 GB / 6.012 GB, free: 89.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.033e-06/22.63, allocations: 0 / 6.012 GB, free: 89.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001555/22.63, allocations: 165.8 kB / 6.012 GB, free: 89.7 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.03111/22.66, allocations: 6.203 MB / 6.018 GB, free: 87.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/22.66, allocations: 12 kB / 6.018 GB, free: 87.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/22.68, allocations: 1.497 MB / 6.02 GB, free: 87.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03089/22.71, allocations: 7.441 MB / 6.027 GB, free: 86.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/22.71, allocations: 386.7 kB / 6.027 GB, free: 86.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002766/22.71, allocations: 0.496 MB / 6.028 GB, free: 86.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/22.74, allocations: 6.621 MB / 6.034 GB, free: 85.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004742/22.74, allocations: 11.72 kB / 6.034 GB, free: 85.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002276/22.74, allocations: 201 kB / 6.034 GB, free: 85.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/22.74, allocations: 220.5 kB / 6.035 GB, free: 85.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/22.76, allocations: 5.736 MB / 6.04 GB, free: 85.84 MB / 0.948 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.06853/22.83, allocations: 28.14 MB / 6.068 GB, free: 75.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009478/22.84, allocations: 4.236 MB / 6.072 GB, free: 74.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006746/22.85, allocations: 2.471 MB / 6.074 GB, free: 74.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001796/22.85, allocations: 0.9163 MB / 6.075 GB, free: 73.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007141/22.86, allocations: 2.156 MB / 6.077 GB, free: 73.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 8.676e-06/22.86, allocations: 3.656 kB / 6.077 GB, free: 73.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.03717/22.89, allocations: 9.625 MB / 6.087 GB, free: 71.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/22.89, allocations: 243.8 kB / 6.087 GB, free: 71.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01328/22.91, allocations: 4.54 MB / 6.091 GB, free: 71.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001149/22.91, allocations: 100 kB / 6.091 GB, free: 71.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004696/22.91, allocations: 2.745 MB / 6.094 GB, free: 70.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002186/22.91, allocations: 1.133 MB / 6.095 GB, free: 69.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/22.91, allocations: 69.91 kB / 6.095 GB, free: 69.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003415/22.92, allocations: 440.8 kB / 6.096 GB, free: 69.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/22.92, allocations: 1.728 MB / 6.097 GB, free: 69.42 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006359/22.93, allocations: 2.64 MB / 6.1 GB, free: 68.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/22.93, allocations: 2.254 MB / 6.102 GB, free: 68.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.6e-05/22.93, allocations: 3.812 kB / 6.102 GB, free: 68.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01639/22.95, allocations: 5.042 MB / 6.107 GB, free: 68.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00144/22.95, allocations: 6.22 MB / 6.113 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.319e-05/22.95, allocations: 14.94 kB / 6.113 GB, free: 61.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/22.95, allocations: 218 kB / 6.113 GB, free: 61.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006859/22.96, allocations: 0.7512 MB / 6.114 GB, free: 61.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/22.96, allocations: 3.409 MB / 6.117 GB, free: 58.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01098/22.97, allocations: 0.5951 MB / 6.118 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/22.98, allocations: 131.6 kB / 6.118 GB, free: 58.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/22.98, allocations: 5.547 kB / 6.118 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01443/22.99, allocations: 4.589 MB / 6.123 GB, free: 58.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/22.99, allocations: 17.09 kB / 6.123 GB, free: 58.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000915/22.99, allocations: 211.7 kB / 6.123 GB, free: 58.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/23, allocations: 0.7491 MB / 6.124 GB, free: 58.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/23, allocations: 4.059 MB / 6.128 GB, free: 56.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/23.01, allocations: 0.5788 MB / 6.128 GB, free: 56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/23.02, allocations: 134.7 kB / 6.128 GB, free: 56 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 () * 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.001569/23.02, allocations: 337.8 kB / 6.129 GB, free: 55.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002133/23.02, allocations: 0.4954 MB / 6.129 GB, free: 55.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/23.03, allocations: 4.829 MB / 6.134 GB, free: 55.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/23.03, allocations: 33.84 kB / 6.134 GB, free: 55.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/23.03, allocations: 0 / 6.134 GB, free: 55.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01167/23.05, allocations: 3.997 MB / 6.138 GB, free: 55.03 MB / 0.948 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.03633/23.08, allocations: 11.85 MB / 6.149 GB, free: 54.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-05/23.08, allocations: 3.188 kB / 6.149 GB, free: 54.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007074/23.09, allocations: 0.7476 MB / 6.15 GB, free: 54.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008413/23.09, allocations: 169.8 kB / 6.15 GB, free: 54.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008992/23.09, allocations: 89.42 kB / 6.15 GB, free: 54.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/23.1, allocations: 3.327 MB / 6.154 GB, free: 51.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/23.1, allocations: 4.969 kB / 6.154 GB, free: 51.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02028/23.12, allocations: 7.895 MB / 6.161 GB, free: 50.31 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005835/23.12, allocations: 1.244 MB / 6.162 GB, free: 49.96 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00247/23.12, allocations: 88.45 kB / 6.163 GB, free: 49.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009443/23.13, allocations: 0.5001 MB / 6.163 GB, free: 49.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/23.13, allocations: 204.6 kB / 6.163 GB, free: 49.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006203/23.14, allocations: 121.6 kB / 6.163 GB, free: 49.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009989/23.15, allocations: 3.567 MB / 6.167 GB, free: 49.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.62e-07/23.15, allocations: 0 / 6.167 GB, free: 49.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02156/23.17, allocations: 3.181 MB / 6.17 GB, free: 49.65 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) * 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.007887/23.18, allocations: 3.218 MB / 6.173 GB, free: 48.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01977/23.2, allocations: 7.305 MB / 6.18 GB, free: 47.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/23.2, allocations: 4.062 kB / 6.18 GB, free: 47.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/23.2, allocations: 2.288 MB / 6.182 GB, free: 47.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02653/23.23, allocations: 3.072 MB / 6.185 GB, free: 47.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/23.26, allocations: 11.59 MB / 6.197 GB, free: 45.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/23.27, allocations: 4.702 MB / 6.201 GB, free: 60.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02476/23.3, allocations: 4.4 MB / 6.206 GB, free: 60.42 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/23.3, allocations: 292.3 kB / 6.206 GB, free: 60.41 MB / 0.9636 GB Notification: Performance of SimCode: time 1.623e-06/23.3, allocations: 0 / 6.206 GB, free: 60.41 MB / 0.9636 GB Notification: Performance of Templates: time 1.159/24.46, allocations: 154.5 MB / 6.357 GB, free: 118.6 MB / 0.9792 GB