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.167/2.167, allocations: 248.5 MB / 261 MB, free: 6.09 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.001523/0.001523, allocations: 186.3 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001129/0.001128, allocations: 98.41 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.011e-05/5.872e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2244, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.213/8.438, allocations: 2.511 GB / 3.402 GB, free: 146 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/8.438, allocations: 94.52 kB / 3.402 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 14.39/22.83, allocations: 2.606 GB / 6.008 GB, free: 90.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/22.83, allocations: 0 / 6.008 GB, free: 90.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001569/22.83, allocations: 170.7 kB / 6.008 GB, free: 90.77 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.03226/22.87, allocations: 6.195 MB / 6.014 GB, free: 88.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/22.87, allocations: 11 kB / 6.014 GB, free: 88.82 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003954/22.87, allocations: 0.6728 MB / 6.015 GB, free: 88.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/22.89, allocations: 1.496 MB / 6.016 GB, free: 88.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03094/22.92, allocations: 7.446 MB / 6.023 GB, free: 87.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007652/22.92, allocations: 373.4 kB / 6.024 GB, free: 87.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003019/22.92, allocations: 0.4997 MB / 6.024 GB, free: 87.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/22.95, allocations: 6.626 MB / 6.031 GB, free: 86.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002994/22.95, allocations: 7.312 kB / 6.031 GB, free: 86.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00198/22.95, allocations: 206.4 kB / 6.031 GB, free: 86.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/22.95, allocations: 224.4 kB / 6.031 GB, free: 86.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02129/22.97, allocations: 5.731 MB / 6.037 GB, free: 86.89 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.07103/23.04, allocations: 28.14 MB / 6.064 GB, free: 76.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009863/23.05, allocations: 4.232 MB / 6.068 GB, free: 75.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006497/23.06, allocations: 2.471 MB / 6.071 GB, free: 75.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/23.06, allocations: 0.9171 MB / 6.072 GB, free: 74.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006656/23.07, allocations: 2.163 MB / 6.074 GB, free: 74.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=324): time 7.855e-06/23.07, allocations: 0 / 6.074 GB, free: 74.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=328): time 0.03621/23.11, allocations: 9.624 MB / 6.083 GB, free: 73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/23.11, allocations: 248.1 kB / 6.083 GB, free: 72.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/23.12, allocations: 4.542 MB / 6.088 GB, free: 72.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/23.12, allocations: 96.83 kB / 6.088 GB, free: 72.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004641/23.12, allocations: 2.748 MB / 6.091 GB, free: 71.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002251/23.13, allocations: 1.136 MB / 6.092 GB, free: 70.78 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/23.13, allocations: 61.41 kB / 6.092 GB, free: 70.78 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003464/23.13, allocations: 443.6 kB / 6.092 GB, free: 70.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/23.13, allocations: 1.725 MB / 6.094 GB, free: 70.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00607/23.14, allocations: 2.641 MB / 6.096 GB, free: 69.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006119/23.14, allocations: 2.25 MB / 6.099 GB, free: 69.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.789e-05/23.15, allocations: 3.219 kB / 6.099 GB, free: 69.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01581/23.16, allocations: 5.041 MB / 6.104 GB, free: 69.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001439/23.16, allocations: 6.223 MB / 6.11 GB, free: 62.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/23.16, allocations: 17.72 kB / 6.11 GB, free: 62.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/23.16, allocations: 211.4 kB / 6.11 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006954/23.17, allocations: 0.7571 MB / 6.111 GB, free: 62.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004033/23.17, allocations: 3.413 MB / 6.114 GB, free: 60.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/23.19, allocations: 0.6018 MB / 6.114 GB, free: 59.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/23.19, allocations: 138.5 kB / 6.115 GB, free: 59.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/23.19, allocations: 3.656 kB / 6.115 GB, free: 59.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01343/23.2, allocations: 4.585 MB / 6.119 GB, free: 59.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-05/23.2, allocations: 16.88 kB / 6.119 GB, free: 59.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008937/23.2, allocations: 208 kB / 6.119 GB, free: 59.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006783/23.21, allocations: 0.7455 MB / 6.12 GB, free: 59.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005737/23.21, allocations: 4.048 MB / 6.124 GB, free: 57.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/23.22, allocations: 0.5847 MB / 6.125 GB, free: 57.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/23.23, allocations: 129.6 kB / 6.125 GB, free: 57.04 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.001396/23.23, allocations: 347.9 kB / 6.125 GB, free: 56.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002048/23.23, allocations: 0.5004 MB / 6.126 GB, free: 56.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/23.24, allocations: 4.824 MB / 6.13 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/23.24, allocations: 29.66 kB / 6.13 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/23.24, allocations: 1.688 kB / 6.13 GB, free: 56.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01142/23.26, allocations: 3.994 MB / 6.134 GB, free: 56.07 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.03584/23.29, allocations: 11.86 MB / 6.146 GB, free: 55.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/23.29, allocations: 5.469 kB / 6.146 GB, free: 55.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0071/23.3, allocations: 0.7485 MB / 6.146 GB, free: 55.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008558/23.3, allocations: 167.7 kB / 6.147 GB, free: 55.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000839/23.3, allocations: 95.97 kB / 6.147 GB, free: 55.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/23.3, allocations: 3.317 MB / 6.15 GB, free: 52.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/23.3, allocations: 5.5 kB / 6.15 GB, free: 52.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/23.32, allocations: 7.898 MB / 6.158 GB, free: 51.35 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006078/23.33, allocations: 1.245 MB / 6.159 GB, free: 51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002761/23.33, allocations: 85.34 kB / 6.159 GB, free: 51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009452/23.34, allocations: 0.5011 MB / 6.159 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/23.34, allocations: 199.2 kB / 6.16 GB, free: 50.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005887/23.34, allocations: 123.2 kB / 6.16 GB, free: 50.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01052/23.35, allocations: 3.56 MB / 6.163 GB, free: 50.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.51e-07/23.35, allocations: 3.75 kB / 6.163 GB, free: 50.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02276/23.38, allocations: 3.183 MB / 6.166 GB, free: 50.7 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.02708/23.4, allocations: 12.29 MB / 6.178 GB, free: 46.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01923/23.42, allocations: 7.299 MB / 6.186 GB, free: 46.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/23.42, allocations: 8.469 kB / 6.186 GB, free: 46.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005986/23.43, allocations: 2.292 MB / 6.188 GB, free: 46.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02639/23.46, allocations: 3.072 MB / 6.191 GB, free: 46.06 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04265/23.5, allocations: 13.7 MB / 6.204 GB, free: 43.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/23.51, allocations: 4.7 MB / 6.209 GB, free: 58.75 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.02494/23.53, allocations: 4.412 MB / 6.213 GB, free: 58.71 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00684/23.54, allocations: 2.486 MB / 6.215 GB, free: 58.7 MB / 0.9636 GB Notification: Performance of SimCode: time 1.372e-06/23.54, allocations: 2.719 kB / 6.215 GB, free: 58.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.253/24.79, allocations: 215.1 MB / 6.426 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/24.79, allocations: 238 kB / 6.426 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/37.32, allocations: 0 / 6.426 GB, free: 116.1 MB / 0.9792 GB