Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.687/1.687, allocations: 288.2 MB / 303.2 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 191.2 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009557/0.0009557, allocations: 99.42 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004171, allocations: 12.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.404/6.63, allocations: 2.395 GB / 3.374 GB, free: 230 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/6.63, allocations: 101.1 kB / 3.374 GB, free: 230 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.13/17.76, allocations: 2.679 GB / 6.054 GB, free: 123.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/17.76, allocations: 0 / 6.054 GB, free: 123.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001389/17.76, allocations: 164.9 kB / 6.054 GB, free: 123.3 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03232/17.79, allocations: 7.478 MB / 6.061 GB, free: 120.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/17.79, allocations: 8.25 kB / 6.061 GB, free: 120.2 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004423/17.8, allocations: 0.6723 MB / 6.062 GB, free: 120.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/17.81, allocations: 1.501 MB / 6.063 GB, free: 119.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02387/17.84, allocations: 7.46 MB / 6.07 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000534/17.84, allocations: 378.4 kB / 6.071 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/17.84, allocations: 0.4954 MB / 6.071 GB, free: 118.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/17.86, allocations: 6.714 MB / 6.078 GB, free: 118.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005233/17.86, allocations: 9.312 kB / 6.078 GB, free: 118.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00279/17.87, allocations: 196.8 kB / 6.078 GB, free: 118.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000363/17.87, allocations: 226.1 kB / 6.078 GB, free: 118.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/17.88, allocations: 5.893 MB / 6.084 GB, free: 118.1 MB / 1.01 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.05743/17.94, allocations: 28.09 MB / 6.111 GB, free: 101.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007272/17.95, allocations: 4.548 MB / 6.116 GB, free: 99.12 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/17.95, allocations: 0.9183 MB / 6.117 GB, free: 98.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004968/17.95, allocations: 2.212 MB / 6.119 GB, free: 97.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 7.093e-06/17.95, allocations: 0 / 6.119 GB, free: 97.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04285/18, allocations: 11.75 MB / 6.13 GB, free: 91.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/18, allocations: 252.1 kB / 6.131 GB, free: 91.73 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01634/18.01, allocations: 4.574 MB / 6.135 GB, free: 90.19 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/18.01, allocations: 98.36 kB / 6.135 GB, free: 90.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005784/18.02, allocations: 2.724 MB / 6.138 GB, free: 87.95 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002709/18.02, allocations: 1.135 MB / 6.139 GB, free: 86.92 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008558/18.02, allocations: 64 kB / 6.139 GB, free: 86.86 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004067/18.02, allocations: 446.5 kB / 6.14 GB, free: 86.45 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005208/18.03, allocations: 1.8 MB / 6.141 GB, free: 84.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/18.04, allocations: 2.721 MB / 6.144 GB, free: 82.31 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00707/18.04, allocations: 2.315 MB / 6.146 GB, free: 80.28 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-05/18.04, allocations: 4 kB / 6.146 GB, free: 80.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01792/18.06, allocations: 5.187 MB / 6.151 GB, free: 75.68 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001655/18.06, allocations: 6.22 MB / 6.157 GB, free: 68.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.11e-05/18.06, allocations: 19.03 kB / 6.157 GB, free: 68.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009962/18.06, allocations: 210.8 kB / 6.158 GB, free: 68.76 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005471/18.07, allocations: 0.7605 MB / 6.158 GB, free: 68.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/18.07, allocations: 3.459 MB / 6.162 GB, free: 64.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/18.08, allocations: 0.5931 MB / 6.162 GB, free: 64.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/18.09, allocations: 131.1 kB / 6.162 GB, free: 64.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/18.09, allocations: 7.688 kB / 6.162 GB, free: 64.18 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01448/18.1, allocations: 4.736 MB / 6.167 GB, free: 60.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.893e-05/18.1, allocations: 16 kB / 6.167 GB, free: 60.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/18.1, allocations: 215.9 kB / 6.167 GB, free: 59.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/18.11, allocations: 0.7461 MB / 6.168 GB, free: 59.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/18.11, allocations: 4.129 MB / 6.172 GB, free: 55.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/18.12, allocations: 0.5725 MB / 6.173 GB, free: 54.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001429/18.13, allocations: 136 kB / 6.173 GB, free: 54.49 MB / 1.01 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.009521/18.14, allocations: 2.412 MB / 6.175 GB, free: 52.07 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002823/18.14, allocations: 0.4979 MB / 6.176 GB, free: 51.56 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/18.15, allocations: 4.943 MB / 6.18 GB, free: 46.58 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/18.15, allocations: 32 kB / 6.18 GB, free: 46.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/18.15, allocations: 7.438 kB / 6.18 GB, free: 46.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01166/18.17, allocations: 4.129 MB / 6.184 GB, free: 42.36 MB / 1.01 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.03923/18.21, allocations: 12.15 MB / 6.196 GB, free: 30.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/18.21, allocations: 15.55 kB / 6.196 GB, free: 30.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005398/18.21, allocations: 0.7334 MB / 6.197 GB, free: 29.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007998/18.21, allocations: 178.3 kB / 6.197 GB, free: 29.16 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009827/18.21, allocations: 91.95 kB / 6.197 GB, free: 29.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00323/18.22, allocations: 3.357 MB / 6.201 GB, free: 25.53 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/18.22, allocations: 7.953 kB / 6.201 GB, free: 25.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/18.24, allocations: 8.095 MB / 6.208 GB, free: 17.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00722/18.24, allocations: 1.221 MB / 6.21 GB, free: 15.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002959/18.25, allocations: 83.98 kB / 6.21 GB, free: 15.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009748/18.26, allocations: 0.5028 MB / 6.21 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001179/18.26, allocations: 194.1 kB / 6.21 GB, free: 15.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006025/18.26, allocations: 119.9 kB / 6.211 GB, free: 15.04 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01125/18.27, allocations: 3.601 MB / 6.214 GB, free: 11.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.916e-06/18.27, allocations: 0 / 6.214 GB, free: 11.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02755/18.3, allocations: 3.171 MB / 6.217 GB, free: 8.281 MB / 1.01 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.03458/18.33, allocations: 12.51 MB / 6.229 GB, free: 11.8 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02382/18.35, allocations: 7.359 MB / 6.237 GB, free: 4.355 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.095e-05/18.35, allocations: 5.281 kB / 6.237 GB, free: 4.352 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008317/18.36, allocations: 2.358 MB / 6.239 GB, free: 1.969 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.693/19.06, allocations: 3.06 MB / 6.242 GB, free: 140.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06847/19.12, allocations: 34.77 MB / 6.276 GB, free: 116.3 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/19.14, allocations: 4.667 MB / 6.28 GB, free: 115.4 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.01517/19.16, allocations: 2.674 MB / 6.283 GB, free: 115.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008353/19.16, allocations: 2.559 MB / 6.285 GB, free: 115.4 MB / 1.026 GB Notification: Performance of SimCode: time 1.783e-06/19.16, allocations: 3.688 kB / 6.285 GB, free: 115.4 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3571/19.52, allocations: 199.3 MB / 6.48 GB, free: 89.22 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/19.52, allocations: 273.4 kB / 6.48 GB, free: 88.86 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.672/29.19, allocations: 4.062 kB / 6.48 GB, free: 88.86 MB / 1.026 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)