Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.157/2.157, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001486, allocations: 174.5 kB / 315.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 94.48 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.393e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.224/8.433, allocations: 2.511 GB / 3.396 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/8.433, allocations: 88.83 kB / 3.396 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.46/21.9, allocations: 2.583 GB / 5.979 GB, free: 4.812 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/21.9, allocations: 0 / 5.979 GB, free: 4.812 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00153/21.9, allocations: 166.8 kB / 5.979 GB, free: 4.652 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.7797/22.68, allocations: 6.196 MB / 5.985 GB, free: 94.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/22.68, allocations: 9.391 kB / 5.985 GB, free: 94.22 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01531/22.69, allocations: 1.495 MB / 5.987 GB, free: 93.84 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03082/22.73, allocations: 7.449 MB / 5.994 GB, free: 93.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/22.73, allocations: 154.2 kB / 5.994 GB, free: 93.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/22.73, allocations: 299.3 kB / 5.994 GB, free: 93.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01943/22.75, allocations: 5.359 MB / 6 GB, free: 93.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02641/22.77, allocations: 5.904 MB / 6.005 GB, free: 92.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/22.77, allocations: 14.61 kB / 6.005 GB, free: 92.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/22.78, allocations: 7.156 kB / 6.005 GB, free: 92.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004497/22.78, allocations: 222 kB / 6.006 GB, free: 92.72 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.07304/22.85, allocations: 27.24 MB / 6.032 GB, free: 82.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009575/22.86, allocations: 5.136 MB / 6.037 GB, free: 81.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005677/22.87, allocations: 2.359 MB / 6.039 GB, free: 81.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/22.87, allocations: 0.9215 MB / 6.04 GB, free: 80.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006023/22.87, allocations: 2.182 MB / 6.042 GB, free: 79.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 7.694e-06/22.87, allocations: 0 / 6.042 GB, free: 79.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.04194/22.92, allocations: 10.89 MB / 6.053 GB, free: 77.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/22.92, allocations: 306.5 kB / 6.053 GB, free: 76.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/22.93, allocations: 4.169 MB / 6.057 GB, free: 76.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/22.93, allocations: 32.67 kB / 6.057 GB, free: 76.49 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004497/22.93, allocations: 2.721 MB / 6.06 GB, free: 75.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002098/22.93, allocations: 1.097 MB / 6.061 GB, free: 75.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/22.94, allocations: 2.031 kB / 6.061 GB, free: 75.08 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003228/22.94, allocations: 440.8 kB / 6.062 GB, free: 74.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004195/22.94, allocations: 1.651 MB / 6.063 GB, free: 74.77 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/22.95, allocations: 2.553 MB / 6.066 GB, free: 73.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006198/22.95, allocations: 2.206 MB / 6.068 GB, free: 73.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.234e-05/22.95, allocations: 5.875 kB / 6.068 GB, free: 73.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01569/22.97, allocations: 4.786 MB / 6.073 GB, free: 73.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001362/22.97, allocations: 6.372 MB / 6.079 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/22.97, allocations: 21.08 kB / 6.079 GB, free: 66.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009155/22.97, allocations: 196.4 kB / 6.079 GB, free: 66.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006743/22.98, allocations: 0.7673 MB / 6.08 GB, free: 66.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004047/22.98, allocations: 3.365 MB / 6.083 GB, free: 64.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/22.99, allocations: 0.5208 MB / 6.084 GB, free: 64.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/22.99, allocations: 138.2 kB / 6.084 GB, free: 64.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/22.99, allocations: 3.031 kB / 6.084 GB, free: 64.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/23.01, allocations: 4.262 MB / 6.088 GB, free: 64.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.195e-05/23.01, allocations: 13.28 kB / 6.088 GB, free: 64.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/23.01, allocations: 199.6 kB / 6.088 GB, free: 64.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/23.01, allocations: 0.7484 MB / 6.089 GB, free: 64.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/23.02, allocations: 3.915 MB / 6.093 GB, free: 61.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/23.03, allocations: 0.5109 MB / 6.093 GB, free: 61.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/23.03, allocations: 139.5 kB / 6.093 GB, free: 61.41 MB / 0.948 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 (399): * Single equations (assignments): 393 * 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.001504/23.03, allocations: 217.8 kB / 6.093 GB, free: 61.26 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01294/23.05, allocations: 4.086 MB / 6.097 GB, free: 60.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002556/23.05, allocations: 0.492 MB / 6.098 GB, free: 60.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01393/23.06, allocations: 4.486 MB / 6.102 GB, free: 60.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.411e-05/23.06, allocations: 35.03 kB / 6.102 GB, free: 60.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/23.06, allocations: 0 / 6.102 GB, free: 60.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01054/23.07, allocations: 3.778 MB / 6.106 GB, free: 60.11 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.03385/23.11, allocations: 11.14 MB / 6.117 GB, free: 59.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/23.11, allocations: 7.641 kB / 6.117 GB, free: 59.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006895/23.11, allocations: 0.7538 MB / 6.118 GB, free: 59.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006751/23.11, allocations: 149.5 kB / 6.118 GB, free: 59.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006256/23.12, allocations: 47.73 kB / 6.118 GB, free: 59.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/23.12, allocations: 3.261 MB / 6.121 GB, free: 56.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/23.12, allocations: 5.594 kB / 6.121 GB, free: 56.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01806/23.14, allocations: 7.572 MB / 6.128 GB, free: 55.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005616/23.14, allocations: 1.208 MB / 6.13 GB, free: 55.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/23.14, allocations: 39.59 kB / 6.13 GB, free: 55.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009075/23.15, allocations: 463.2 kB / 6.13 GB, free: 55.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009932/23.15, allocations: 203.6 kB / 6.13 GB, free: 55.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005137/23.16, allocations: 121 kB / 6.13 GB, free: 55.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008625/23.16, allocations: 3.227 MB / 6.134 GB, free: 54.83 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/23.16, allocations: 0 / 6.134 GB, free: 54.83 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.021/23.18, allocations: 2.955 MB / 6.136 GB, free: 54.8 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.02496/23.21, allocations: 12.2 MB / 6.148 GB, free: 51.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01663/23.23, allocations: 6.956 MB / 6.155 GB, free: 50.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-05/23.23, allocations: 10.03 kB / 6.155 GB, free: 50.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005369/23.23, allocations: 2.183 MB / 6.157 GB, free: 50.35 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02536/23.26, allocations: 2.926 MB / 6.16 GB, free: 50.31 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04007/23.3, allocations: 13.39 MB / 6.173 GB, free: 47.92 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009295/23.31, allocations: 4.702 MB / 6.178 GB, free: 47.07 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02407/23.33, allocations: 4.398 MB / 6.182 GB, free: 47.03 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006955/23.34, allocations: 2.484 MB / 6.185 GB, free: 47.02 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/23.34, allocations: 0 / 6.185 GB, free: 47.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.191/24.53, allocations: 177.3 MB / 6.358 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/24.53, allocations: 187.6 kB / 6.358 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/35.37, allocations: 0 / 6.358 GB, free: 103.1 MB / 0.9792 GB