Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.396/2.396, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001495/0.001495, allocations: 176.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.2 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.001069, allocations: 89.28 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.938e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.8116, allocations: 115.2 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.023/7.835, allocations: 2.394 GB / 3.357 GB, free: 58.68 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/7.835, allocations: 90.73 kB / 3.357 GB, free: 58.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.11/21.94, allocations: 2.653 GB / 6.01 GB, free: 39.88 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.933e-06/21.94, allocations: 0 / 6.01 GB, free: 39.88 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001334/21.94, allocations: 166.4 kB / 6.01 GB, free: 39.71 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.02716/21.97, allocations: 6.192 MB / 6.016 GB, free: 33.46 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/21.97, allocations: 12.03 kB / 6.016 GB, free: 33.45 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/21.98, allocations: 1.496 MB / 6.018 GB, free: 31.94 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02644/22.01, allocations: 7.402 MB / 6.025 GB, free: 24.48 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/22.01, allocations: 152 kB / 6.025 GB, free: 24.34 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002183/22.01, allocations: 307.8 kB / 6.025 GB, free: 24.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01692/22.03, allocations: 5.332 MB / 6.03 GB, free: 18.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/22.05, allocations: 5.89 MB / 6.036 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/22.05, allocations: 7.938 kB / 6.036 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001065/22.05, allocations: 8 kB / 6.036 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002744/22.05, allocations: 221.4 kB / 6.036 GB, free: 12.44 MB / 1.01 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.8617/22.91, allocations: 27.19 MB / 6.063 GB, free: 91.65 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/22.92, allocations: 5.336 MB / 6.068 GB, free: 89.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005746/22.93, allocations: 2.374 MB / 6.07 GB, free: 89.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/22.93, allocations: 0.9187 MB / 6.071 GB, free: 88.85 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005655/22.94, allocations: 2.187 MB / 6.073 GB, free: 88.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=324): time 9.478e-06/22.94, allocations: 3.516 kB / 6.073 GB, free: 88.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=328): time 0.04033/22.98, allocations: 10.9 MB / 6.084 GB, free: 85.92 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/22.98, allocations: 295.2 kB / 6.084 GB, free: 85.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/22.99, allocations: 4.139 MB / 6.088 GB, free: 85.32 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/22.99, allocations: 32.61 kB / 6.088 GB, free: 85.29 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.004528/22.99, allocations: 2.7 MB / 6.091 GB, free: 84.65 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002154/23, allocations: 1.092 MB / 6.092 GB, free: 84.08 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003546/23, allocations: 3.562 kB / 6.092 GB, free: 84.08 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003231/23, allocations: 442.2 kB / 6.093 GB, free: 83.77 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/23, allocations: 1.664 MB / 6.094 GB, free: 83.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005237/23.01, allocations: 2.551 MB / 6.097 GB, free: 82.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006042/23.01, allocations: 2.228 MB / 6.099 GB, free: 82.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.141e-05/23.01, allocations: 9.828 kB / 6.099 GB, free: 82.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01485/23.03, allocations: 4.814 MB / 6.104 GB, free: 82.44 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001301/23.03, allocations: 6.361 MB / 6.11 GB, free: 75.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.941e-05/23.03, allocations: 17 kB / 6.11 GB, free: 75.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/23.03, allocations: 199.9 kB / 6.11 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007026/23.04, allocations: 0.7627 MB / 6.111 GB, free: 75.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/23.04, allocations: 3.377 MB / 6.114 GB, free: 73.22 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/23.05, allocations: 0.5222 MB / 6.115 GB, free: 73.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/23.05, allocations: 133.6 kB / 6.115 GB, free: 73.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/23.05, allocations: 4.188 kB / 6.115 GB, free: 73.2 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01432/23.07, allocations: 4.266 MB / 6.119 GB, free: 73.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.756e-05/23.07, allocations: 18.17 kB / 6.119 GB, free: 73.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008998/23.07, allocations: 204.9 kB / 6.119 GB, free: 73.07 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00665/23.08, allocations: 0.7526 MB / 6.12 GB, free: 73.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/23.08, allocations: 3.924 MB / 6.124 GB, free: 70.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/23.09, allocations: 0.511 MB / 6.124 GB, free: 70.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/23.09, allocations: 135.1 kB / 6.124 GB, free: 70.43 MB / 1.01 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.001397/23.09, allocations: 221.7 kB / 6.125 GB, free: 70.29 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01296/23.11, allocations: 4.103 MB / 6.129 GB, free: 69.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002666/23.11, allocations: 496.2 kB / 6.129 GB, free: 69.65 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/23.12, allocations: 4.518 MB / 6.133 GB, free: 69.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.592e-05/23.12, allocations: 35.91 kB / 6.133 GB, free: 69.42 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/23.12, allocations: 2.156 kB / 6.133 GB, free: 69.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0131/23.14, allocations: 3.79 MB / 6.137 GB, free: 69.14 MB / 1.01 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.03917/23.18, allocations: 11.32 MB / 6.148 GB, free: 68.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/23.18, allocations: 3.969 kB / 6.148 GB, free: 68.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006995/23.18, allocations: 0.7492 MB / 6.149 GB, free: 68.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007294/23.19, allocations: 147.2 kB / 6.149 GB, free: 68.01 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007271/23.19, allocations: 53.53 kB / 6.149 GB, free: 68.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/23.19, allocations: 3.266 MB / 6.152 GB, free: 65.63 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/23.19, allocations: 9.422 kB / 6.152 GB, free: 65.62 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/23.21, allocations: 7.59 MB / 6.16 GB, free: 64.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005565/23.21, allocations: 1.195 MB / 6.161 GB, free: 63.96 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001941/23.21, allocations: 26.11 kB / 6.161 GB, free: 63.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008918/23.22, allocations: 462 kB / 6.161 GB, free: 63.94 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009671/23.22, allocations: 204.9 kB / 6.162 GB, free: 63.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004827/23.23, allocations: 119 kB / 6.162 GB, free: 63.93 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.008114/23.23, allocations: 3.204 MB / 6.165 GB, free: 63.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.132e-06/23.23, allocations: 0 / 6.165 GB, free: 63.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02053/23.25, allocations: 2.941 MB / 6.168 GB, free: 63.75 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) * 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.02704/23.28, allocations: 12.24 MB / 6.18 GB, free: 60.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01939/23.3, allocations: 6.989 MB / 6.186 GB, free: 59.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/23.3, allocations: 4.156 kB / 6.186 GB, free: 59.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005552/23.31, allocations: 2.189 MB / 6.189 GB, free: 59.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02538/23.33, allocations: 2.93 MB / 6.191 GB, free: 59.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04291/23.37, allocations: 13.35 MB / 6.204 GB, free: 56.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/23.39, allocations: 4.666 MB / 6.209 GB, free: 72.11 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02367/23.41, allocations: 4.39 MB / 6.213 GB, free: 72.07 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006567/23.42, allocations: 2.478 MB / 6.216 GB, free: 72.06 MB / 1.026 GB Notification: Performance of SimCode: time 1.352e-06/23.42, allocations: 1.938 kB / 6.216 GB, free: 72.06 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3959/23.81, allocations: 177.2 MB / 6.389 GB, free: 16.8 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/23.81, allocations: 190.9 kB / 6.389 GB, free: 16.61 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/34.69, allocations: 4 kB / 6.389 GB, free: 16.6 MB / 1.026 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)