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.141/2.141, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 174.5 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.5764 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 103.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 18.58 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.637/7.855, allocations: 2.511 GB / 3.41 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/7.855, allocations: 97.58 kB / 3.41 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 14.45/22.3, allocations: 2.61 GB / 6.02 GB, free: 83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.625e-06/22.3, allocations: 2.125 kB / 6.02 GB, free: 83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001572/22.3, allocations: 169 kB / 6.02 GB, free: 82.97 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.03551/22.34, allocations: 7.505 MB / 6.028 GB, free: 80.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/22.34, allocations: 9.75 kB / 6.028 GB, free: 80.19 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003702/22.34, allocations: 0.677 MB / 6.028 GB, free: 80.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/22.36, allocations: 1.506 MB / 6.03 GB, free: 79.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03051/22.39, allocations: 7.487 MB / 6.037 GB, free: 78.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006432/22.39, allocations: 379.3 kB / 6.038 GB, free: 78.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002784/22.39, allocations: 0.4928 MB / 6.038 GB, free: 78.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/22.42, allocations: 6.745 MB / 6.045 GB, free: 78.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003592/22.42, allocations: 20.27 kB / 6.045 GB, free: 78.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/22.42, allocations: 201.6 kB / 6.045 GB, free: 78.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000328/22.42, allocations: 217.8 kB / 6.045 GB, free: 78.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02083/22.44, allocations: 5.92 MB / 6.051 GB, free: 78.25 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.06739/22.51, allocations: 28.14 MB / 6.078 GB, free: 67.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/22.52, allocations: 4.324 MB / 6.082 GB, free: 67.22 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/22.52, allocations: 0.9168 MB / 6.083 GB, free: 66.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006576/22.53, allocations: 2.218 MB / 6.086 GB, free: 66.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 8.866e-06/22.53, allocations: 3.938 kB / 6.086 GB, free: 66.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.04275/22.57, allocations: 11.7 MB / 6.097 GB, free: 64.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/22.57, allocations: 252.9 kB / 6.097 GB, free: 63.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/22.58, allocations: 4.606 MB / 6.102 GB, free: 63.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001292/22.59, allocations: 97.48 kB / 6.102 GB, free: 63.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005391/22.59, allocations: 2.741 MB / 6.104 GB, free: 62.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/22.59, allocations: 1.137 MB / 6.106 GB, free: 61.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005415/22.59, allocations: 65.94 kB / 6.106 GB, free: 61.97 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003497/22.59, allocations: 446.9 kB / 6.106 GB, free: 61.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/22.6, allocations: 1.789 MB / 6.108 GB, free: 61.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006446/22.61, allocations: 2.714 MB / 6.11 GB, free: 60.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00641/22.61, allocations: 2.305 MB / 6.113 GB, free: 60.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/22.61, allocations: 3.719 kB / 6.113 GB, free: 60.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01637/22.63, allocations: 5.172 MB / 6.118 GB, free: 60.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001417/22.63, allocations: 6.213 MB / 6.124 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-05/22.63, allocations: 15.09 kB / 6.124 GB, free: 53.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/22.63, allocations: 209.5 kB / 6.124 GB, free: 53.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007009/22.64, allocations: 0.7622 MB / 6.125 GB, free: 53.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/22.64, allocations: 3.46 MB / 6.128 GB, free: 50.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/22.65, allocations: 0.5954 MB / 6.129 GB, free: 50.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/22.66, allocations: 133 kB / 6.129 GB, free: 50.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/22.66, allocations: 3.219 kB / 6.129 GB, free: 50.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01627/22.67, allocations: 4.715 MB / 6.134 GB, free: 48.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/22.67, allocations: 17.14 kB / 6.134 GB, free: 48.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/22.67, allocations: 212.5 kB / 6.134 GB, free: 48.53 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006528/22.68, allocations: 0.7506 MB / 6.134 GB, free: 48.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/22.69, allocations: 4.111 MB / 6.138 GB, free: 45.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/22.7, allocations: 0.5866 MB / 6.139 GB, free: 45.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/22.7, allocations: 135.7 kB / 6.139 GB, free: 44.98 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.007029/22.71, allocations: 2.426 MB / 6.142 GB, free: 43.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002004/22.71, allocations: 0.4992 MB / 6.142 GB, free: 43.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/22.72, allocations: 4.931 MB / 6.147 GB, free: 41.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/22.72, allocations: 32.62 kB / 6.147 GB, free: 41.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/22.72, allocations: 3.375 kB / 6.147 GB, free: 41.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01268/22.74, allocations: 4.109 MB / 6.151 GB, free: 40.06 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.03582/22.77, allocations: 11.98 MB / 6.163 GB, free: 35.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/22.77, allocations: 3.938 kB / 6.163 GB, free: 35.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006823/22.78, allocations: 0.7483 MB / 6.163 GB, free: 35.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007605/22.78, allocations: 173.8 kB / 6.164 GB, free: 35.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005511/22.78, allocations: 91.83 kB / 6.164 GB, free: 34.97 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/22.78, allocations: 3.362 MB / 6.167 GB, free: 32.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/22.78, allocations: 6.656 kB / 6.167 GB, free: 32.08 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01962/22.8, allocations: 8.068 MB / 6.175 GB, free: 28.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005402/22.81, allocations: 1.241 MB / 6.176 GB, free: 27.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/22.81, allocations: 89.48 kB / 6.176 GB, free: 27.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008991/22.82, allocations: 0.5018 MB / 6.177 GB, free: 27.44 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/22.82, allocations: 203.1 kB / 6.177 GB, free: 27.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004878/22.82, allocations: 122.1 kB / 6.177 GB, free: 27.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.009442/22.83, allocations: 3.617 MB / 6.18 GB, free: 26.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/22.83, allocations: 0 / 6.18 GB, free: 26.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02044/22.85, allocations: 3.188 MB / 6.184 GB, free: 23.36 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.02559/22.88, allocations: 12.46 MB / 6.196 GB, free: 12.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01953/22.9, allocations: 7.335 MB / 6.203 GB, free: 5.988 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/22.9, allocations: 5.281 kB / 6.203 GB, free: 5.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005775/22.9, allocations: 2.351 MB / 6.205 GB, free: 3.914 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02549/22.93, allocations: 3.073 MB / 6.208 GB, free: 1.871 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8775/23.8, allocations: 34.9 MB / 6.242 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/23.82, allocations: 4.687 MB / 6.247 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01759/23.83, allocations: 2.678 MB / 6.249 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00876/23.84, allocations: 2.571 MB / 6.252 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.743e-06/23.84, allocations: 0.5625 kB / 6.252 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4346/24.28, allocations: 199.3 MB / 6.447 GB, free: 96.04 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/24.28, allocations: 277.6 kB / 6.447 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/35.83, allocations: 4 kB / 6.447 GB, free: 95.66 MB / 0.9792 GB