Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.3 MB / 261.8 MB, free: 5.832 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.001016/0.001016, allocations: 186.6 kB / 321.3 MB, free: 14.64 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.679/1.679, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001085/0.001085, allocations: 94.45 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.703e-05, allocations: 7.984 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.695/1.93, allocations: 446.9 MB / 1.328 GB, free: 292.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.931, allocations: 90.39 kB / 1.328 GB, free: 292.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.496/6.427, allocations: 1.135 GB / 2.463 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.794e-06/6.427, allocations: 0 / 2.463 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004127/6.427, allocations: 61.19 kB / 2.463 GB, free: 115.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.0064/6.434, allocations: 2.077 MB / 2.465 GB, free: 114 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/6.434, allocations: 12.84 kB / 2.465 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005998/6.434, allocations: 169.6 kB / 2.466 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/6.437, allocations: 457.8 kB / 2.466 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007957/6.445, allocations: 2.29 MB / 2.468 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/6.445, allocations: 91.91 kB / 2.468 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005453/6.446, allocations: 118.7 kB / 2.468 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00333/6.449, allocations: 1.246 MB / 2.47 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/6.449, allocations: 5.688 kB / 2.47 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/6.449, allocations: 49.23 kB / 2.47 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/6.45, allocations: 32.53 kB / 2.47 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/6.451, allocations: 0.8338 MB / 2.471 GB, free: 111.7 MB / 0.8855 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.01133/6.463, allocations: 6.879 MB / 2.477 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/6.465, allocations: 1.138 MB / 2.478 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/6.465, allocations: 308.8 kB / 2.479 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006261/6.472, allocations: 2.902 MB / 2.481 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/6.472, allocations: 348.1 kB / 2.482 GB, free: 103 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009504/6.473, allocations: 92.69 kB / 2.482 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 6.322e-06/6.473, allocations: 0 / 2.482 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.00163/6.475, allocations: 0.6737 MB / 2.483 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/6.475, allocations: 164 kB / 2.483 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/6.478, allocations: 1.341 MB / 2.484 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/6.478, allocations: 43.33 kB / 2.484 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000979/6.479, allocations: 0.891 MB / 2.485 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/6.479, allocations: 221.8 kB / 2.485 GB, free: 101 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/6.479, allocations: 19.69 kB / 2.485 GB, free: 101 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001163/6.479, allocations: 345.8 kB / 2.485 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/6.48, allocations: 270.9 kB / 2.486 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/6.481, allocations: 0.6995 MB / 2.486 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/6.482, allocations: 407.4 kB / 2.487 GB, free: 99.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/6.482, allocations: 6.703 kB / 2.487 GB, free: 99.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002151/6.484, allocations: 1.103 MB / 2.488 GB, free: 99.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001168/6.485, allocations: 4.546 MB / 2.492 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.735e-05/6.485, allocations: 14.97 kB / 2.492 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.495e-05/6.485, allocations: 18.22 kB / 2.492 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009669/6.486, allocations: 245.5 kB / 2.493 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/6.486, allocations: 34.3 kB / 2.493 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/6.488, allocations: 121.6 kB / 2.493 GB, free: 94.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/6.488, allocations: 52.53 kB / 2.493 GB, free: 94.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/6.488, allocations: 5.219 kB / 2.493 GB, free: 94.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001644/6.49, allocations: 0.9328 MB / 2.494 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-05/6.49, allocations: 13.72 kB / 2.494 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/6.49, allocations: 19.69 kB / 2.494 GB, free: 94.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000872/6.49, allocations: 244.3 kB / 2.494 GB, free: 94.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.568e-05/6.491, allocations: 23.19 kB / 2.494 GB, free: 94.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/6.492, allocations: 115.3 kB / 2.494 GB, free: 94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/6.492, allocations: 54.7 kB / 2.494 GB, free: 93.99 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0003167/6.493, allocations: 176.9 kB / 2.494 GB, free: 93.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/6.493, allocations: 165.8 kB / 2.495 GB, free: 93.74 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/6.495, allocations: 0.9443 MB / 2.495 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/6.495, allocations: 11.47 kB / 2.495 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/6.495, allocations: 3.609 kB / 2.495 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/6.496, allocations: 0.7811 MB / 2.496 GB, free: 92.92 MB / 0.8855 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.004876/6.501, allocations: 2.148 MB / 2.498 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/6.501, allocations: 0 / 2.498 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006765/6.502, allocations: 132.4 kB / 2.498 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000213/6.502, allocations: 38.22 kB / 2.498 GB, free: 91.89 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/6.502, allocations: 21.84 kB / 2.498 GB, free: 91.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/6.503, allocations: 1.306 MB / 2.5 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/6.503, allocations: 0 / 2.5 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/6.505, allocations: 1.309 MB / 2.501 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/6.507, allocations: 345.7 kB / 2.501 GB, free: 89.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006321/6.507, allocations: 15.52 kB / 2.501 GB, free: 89.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/6.509, allocations: 106.7 kB / 2.501 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/6.509, allocations: 52.19 kB / 2.502 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/6.509, allocations: 26.83 kB / 2.502 GB, free: 89.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002464/6.511, allocations: 1.08 MB / 2.503 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/6.511, allocations: 5.5 kB / 2.503 GB, free: 89.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004843/6.516, allocations: 1.014 MB / 2.504 GB, free: 88.88 MB / 0.8855 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.outCon.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005796/6.522, allocations: 3.185 MB / 2.507 GB, free: 87.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002918/6.525, allocations: 1.444 MB / 2.508 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/6.525, allocations: 3.531 kB / 2.508 GB, free: 86.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008177/6.526, allocations: 460.7 kB / 2.509 GB, free: 86.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/6.531, allocations: 0.7361 MB / 2.509 GB, free: 86.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/6.542, allocations: 2.812 MB / 2.512 GB, free: 85.03 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/6.544, allocations: 1.412 MB / 2.513 GB, free: 84.01 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003885/6.548, allocations: 0.5981 MB / 2.514 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/6.549, allocations: 0.7006 MB / 2.515 GB, free: 83.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.154e-06/6.549, allocations: 3.938 kB / 2.515 GB, free: 83.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1097/6.659, allocations: 57.55 MB / 2.571 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/6.659, allocations: 227.8 kB / 2.571 GB, free: 32.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.445/11.1, allocations: 4.062 kB / 2.571 GB, free: 32.93 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)