Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u",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.701/1.701, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.00121/0.00121, allocations: 187.5 kB / 371.8 MB, free: 10.26 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.833/1.833, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.001036/0.001036, allocations: 99.41 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004637, allocations: 16.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3013, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.453/5.754, allocations: 2.086 GB / 3.066 GB, free: 185.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.754, allocations: 91.77 kB / 3.066 GB, free: 185 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.986/9.74, allocations: 1.038 GB / 4.103 GB, free: 157.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.924e-06/9.74, allocations: 0 / 4.103 GB, free: 157.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003163/9.741, allocations: 43.8 kB / 4.103 GB, free: 157.1 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.007767/9.749, allocations: 2.389 MB / 4.106 GB, free: 156 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/9.749, allocations: 18.41 kB / 4.106 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007005/9.749, allocations: 170.5 kB / 4.106 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/9.754, allocations: 0.6251 MB / 4.106 GB, free: 155.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/9.759, allocations: 1.446 MB / 4.108 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/9.759, allocations: 158.7 kB / 4.108 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005406/9.76, allocations: 125 kB / 4.108 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/9.763, allocations: 1.46 MB / 4.11 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/9.763, allocations: 0 / 4.11 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/9.763, allocations: 51.78 kB / 4.11 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/9.763, allocations: 45.56 kB / 4.11 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/9.765, allocations: 1.251 MB / 4.111 GB, free: 155.2 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.008949/9.774, allocations: 5.873 MB / 4.117 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/9.776, allocations: 1.166 MB / 4.118 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/9.777, allocations: 314.4 kB / 4.118 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/9.778, allocations: 0.6241 MB / 4.119 GB, free: 152.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=87): time 4.849e-06/9.778, allocations: 0 / 4.119 GB, free: 152.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.01113/9.789, allocations: 4.433 MB / 4.123 GB, free: 151.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/9.789, allocations: 192.5 kB / 4.123 GB, free: 151 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/9.791, allocations: 1.16 MB / 4.124 GB, free: 150.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/9.791, allocations: 49.8 kB / 4.124 GB, free: 150.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/9.792, allocations: 0.7226 MB / 4.125 GB, free: 150.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/9.792, allocations: 319.2 kB / 4.125 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/9.792, allocations: 21.16 kB / 4.125 GB, free: 150.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/9.792, allocations: 337.1 kB / 4.126 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009039/9.793, allocations: 489.8 kB / 4.126 GB, free: 150.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/9.794, allocations: 0.7094 MB / 4.127 GB, free: 149.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/9.805, allocations: 2.541 MB / 4.129 GB, free: 149.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/9.805, allocations: 3.844 kB / 4.129 GB, free: 149.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004703/9.81, allocations: 1.826 MB / 4.131 GB, free: 149.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003324/9.81, allocations: 1.304 MB / 4.132 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/9.81, allocations: 0 / 4.132 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/9.812, allocations: 460.6 kB / 4.133 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/9.812, allocations: 169.4 kB / 4.133 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/9.82, allocations: 7.21 MB / 4.14 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/9.822, allocations: 154.4 kB / 4.14 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/9.823, allocations: 41.28 kB / 4.14 GB, free: 143.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/9.823, allocations: 3.906 kB / 4.14 GB, free: 143.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004308/9.827, allocations: 1.671 MB / 4.142 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/9.827, allocations: 3.438 kB / 4.142 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/9.828, allocations: 460.1 kB / 4.142 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/9.829, allocations: 174.2 kB / 4.142 GB, free: 143.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/9.837, allocations: 8.206 MB / 4.15 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/9.839, allocations: 157.5 kB / 4.151 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/9.84, allocations: 39.53 kB / 4.151 GB, free: 137.4 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001345/9.841, allocations: 0.5079 MB / 4.151 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/9.842, allocations: 169 kB / 4.151 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/9.846, allocations: 1.668 MB / 4.153 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/9.846, allocations: 14.47 kB / 4.153 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/9.846, allocations: 1.375 kB / 4.153 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003535/9.85, allocations: 1.533 MB / 4.154 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/9.858, allocations: 3.544 MB / 4.158 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/9.858, allocations: 7.406 kB / 4.158 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/9.859, allocations: 192.3 kB / 4.158 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006073/9.859, allocations: 241.5 kB / 4.158 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/9.86, allocations: 37.39 kB / 4.158 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/9.863, allocations: 2.719 MB / 4.161 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/9.863, allocations: 7.469 kB / 4.161 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/9.868, allocations: 2.709 MB / 4.164 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/9.869, allocations: 359.4 kB / 4.164 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/9.87, allocations: 25.62 kB / 4.164 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/9.872, allocations: 140.3 kB / 4.164 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/9.872, allocations: 67.75 kB / 4.164 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/9.872, allocations: 35.77 kB / 4.164 GB, free: 130.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001756/9.874, allocations: 0.922 MB / 4.165 GB, free: 129.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/9.874, allocations: 0 / 4.165 GB, free: 129.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004805/9.879, allocations: 1.021 MB / 4.166 GB, free: 129.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01012/9.889, allocations: 6.529 MB / 4.173 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005219/9.894, allocations: 2.955 MB / 4.175 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/9.894, allocations: 0 / 4.175 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/9.895, allocations: 0.8111 MB / 4.176 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/9.9, allocations: 0.8672 MB / 4.177 GB, free: 123.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/9.925, allocations: 12.82 MB / 4.19 GB, free: 115.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/9.926, allocations: 1.389 MB / 4.191 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00193/9.928, allocations: 341 kB / 4.191 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/9.929, allocations: 0.63 MB / 4.192 GB, free: 114.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/9.929, allocations: 0 / 4.192 GB, free: 114.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/10.05, allocations: 84.18 MB / 4.274 GB, free: 39.63 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/10.05, allocations: 262 kB / 4.274 GB, free: 39.28 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/15.16, allocations: 0 / 4.274 GB, free: 39.28 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)