Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.Examples.WaterHeater_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_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.686/1.686, allocations: 285.4 MB / 298 MB, free: 5.969 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.001897/0.001898, allocations: 180.9 kB / 366.4 MB, free: 2.078 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.81/1.81, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0009302/0.0009301, allocations: 92.59 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.549e-05/4.552e-05, allocations: 8 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8684/0.8684, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/2.151, allocations: 448 MB / 1.408 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/2.151, allocations: 93.52 kB / 1.409 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.285/6.437, allocations: 1.133 GB / 2.542 GB, free: 135.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.935e-06/6.437, allocations: 3 kB / 2.542 GB, free: 135.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002504/6.437, allocations: 63.66 kB / 2.542 GB, free: 135.8 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.004838/6.442, allocations: 2.181 MB / 2.544 GB, free: 134.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/6.442, allocations: 12.56 kB / 2.544 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/6.442, allocations: 175.3 kB / 2.544 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/6.444, allocations: 381 kB / 2.545 GB, free: 133.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/6.449, allocations: 2.46 MB / 2.547 GB, free: 132.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/6.449, allocations: 97.27 kB / 2.547 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/6.449, allocations: 140.8 kB / 2.547 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/6.451, allocations: 1.36 MB / 2.549 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/6.451, allocations: 0 / 2.549 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/6.451, allocations: 54.59 kB / 2.549 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/6.452, allocations: 40.95 kB / 2.549 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/6.453, allocations: 0.9159 MB / 2.55 GB, free: 130.9 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.009407/6.462, allocations: 7.15 MB / 2.557 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/6.464, allocations: 1.177 MB / 2.558 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/6.464, allocations: 355.4 kB / 2.558 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003979/6.468, allocations: 2.269 MB / 2.56 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006241/6.469, allocations: 401.5 kB / 2.561 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008713/6.47, allocations: 90.25 kB / 2.561 GB, free: 119.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.989e-06/6.47, allocations: 0 / 2.561 GB, free: 119.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001482/6.471, allocations: 0.7321 MB / 2.561 GB, free: 119 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/6.471, allocations: 169.1 kB / 2.562 GB, free: 118.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/6.473, allocations: 1.29 MB / 2.563 GB, free: 117.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/6.473, allocations: 45.7 kB / 2.563 GB, free: 117.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/6.474, allocations: 0.8956 MB / 2.564 GB, free: 116.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/6.474, allocations: 241.7 kB / 2.564 GB, free: 116.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/6.474, allocations: 28.47 kB / 2.564 GB, free: 116.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/6.475, allocations: 341.9 kB / 2.564 GB, free: 116 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/6.475, allocations: 289.9 kB / 2.565 GB, free: 115.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/6.476, allocations: 0.6713 MB / 2.565 GB, free: 114.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/6.476, allocations: 423.7 kB / 2.566 GB, free: 114.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/6.476, allocations: 0 / 2.566 GB, free: 114.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001484/6.478, allocations: 1.117 MB / 2.567 GB, free: 113.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008513/6.479, allocations: 3.736 MB / 2.57 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/6.479, allocations: 15.69 kB / 2.57 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/6.479, allocations: 16 kB / 2.57 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/6.48, allocations: 253.4 kB / 2.571 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/6.48, allocations: 21.69 kB / 2.571 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/6.481, allocations: 127.7 kB / 2.571 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/6.481, allocations: 51.98 kB / 2.571 GB, free: 108.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/6.481, allocations: 4 kB / 2.571 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/6.482, allocations: 0.9487 MB / 2.572 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/6.482, allocations: 15.98 kB / 2.572 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/6.482, allocations: 16 kB / 2.572 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/6.483, allocations: 246.4 kB / 2.572 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/6.483, allocations: 19.94 kB / 2.572 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/6.484, allocations: 131.1 kB / 2.572 GB, free: 107.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/6.484, allocations: 51.98 kB / 2.572 GB, free: 107.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002449/6.485, allocations: 184.8 kB / 2.572 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/6.485, allocations: 165.9 kB / 2.573 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/6.487, allocations: 0.9758 MB / 2.574 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/6.487, allocations: 19.05 kB / 2.574 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/6.487, allocations: 3.953 kB / 2.574 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008759/6.488, allocations: 0.6746 MB / 2.574 GB, free: 105.4 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.003479/6.491, allocations: 2.286 MB / 2.576 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/6.491, allocations: 6.969 kB / 2.576 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006716/6.492, allocations: 155.8 kB / 2.577 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/6.492, allocations: 40 kB / 2.577 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/6.492, allocations: 19.98 kB / 2.577 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007677/6.493, allocations: 1.306 MB / 2.578 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/6.493, allocations: 7.922 kB / 2.578 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/6.495, allocations: 1.396 MB / 2.579 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006321/6.495, allocations: 350.7 kB / 2.58 GB, free: 99.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/6.495, allocations: 16 kB / 2.58 GB, free: 99.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009006/6.496, allocations: 117 kB / 2.58 GB, free: 99.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/6.496, allocations: 56.7 kB / 2.58 GB, free: 99.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/6.496, allocations: 43.12 kB / 2.58 GB, free: 99.45 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001206/6.498, allocations: 0.9897 MB / 2.581 GB, free: 98.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.498, allocations: 0 / 2.581 GB, free: 98.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00333/6.501, allocations: 1.132 MB / 2.582 GB, free: 97.34 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004068/6.505, allocations: 3.141 MB / 2.585 GB, free: 94.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002118/6.507, allocations: 1.497 MB / 2.587 GB, free: 92.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/6.507, allocations: 0 / 2.587 GB, free: 92.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/6.508, allocations: 493.9 kB / 2.587 GB, free: 92.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/6.511, allocations: 0.7679 MB / 2.588 GB, free: 91.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005623/6.517, allocations: 2.89 MB / 2.591 GB, free: 88.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/6.518, allocations: 1.451 MB / 2.592 GB, free: 87.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00234/6.52, allocations: 0.5531 MB / 2.593 GB, free: 86.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/6.521, allocations: 0.718 MB / 2.593 GB, free: 85.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.183e-06/6.521, allocations: 3.938 kB / 2.593 GB, free: 85.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08755/6.608, allocations: 58.67 MB / 2.651 GB, free: 27.93 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/6.609, allocations: 218.4 kB / 2.651 GB, free: 27.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.203/10.81, allocations: 0 / 2.651 GB, free: 27.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)