Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.256/2.256, allocations: 248.5 MB / 261 MB, free: 6.055 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.001471/0.001471, allocations: 178.6 kB / 320.4 MB, free: 15.34 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.901/1.901, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001141/0.001141, allocations: 93.69 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.908e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.9/2.101, allocations: 440.2 MB / 1.321 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/2.102, allocations: 91.48 kB / 1.321 GB, free: 252 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.865/7.967, allocations: 1.103 GB / 2.423 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.783e-06/7.967, allocations: 0 / 2.423 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000399/7.968, allocations: 61.25 kB / 2.423 GB, free: 123.6 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.007445/7.975, allocations: 2.175 MB / 2.426 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/7.975, allocations: 12.53 kB / 2.426 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005883/7.976, allocations: 185.3 kB / 2.426 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/7.979, allocations: 369.5 kB / 2.426 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009881/7.989, allocations: 2.469 MB / 2.429 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/7.989, allocations: 103.9 kB / 2.429 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005031/7.989, allocations: 134.2 kB / 2.429 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/7.993, allocations: 1.358 MB / 2.43 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/7.993, allocations: 2.75 kB / 2.43 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/7.993, allocations: 55.16 kB / 2.43 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/7.993, allocations: 35.3 kB / 2.43 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/7.996, allocations: 0.9144 MB / 2.431 GB, free: 121.6 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.01416/8.01, allocations: 7.139 MB / 2.438 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/8.012, allocations: 1.18 MB / 2.439 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008574/8.013, allocations: 349.3 kB / 2.44 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005408/8.019, allocations: 2.255 MB / 2.442 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000922/8.02, allocations: 395.4 kB / 2.442 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001209/8.021, allocations: 89.91 kB / 2.442 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 4.969e-06/8.021, allocations: 0 / 2.442 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.002297/8.023, allocations: 0.7414 MB / 2.443 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/8.023, allocations: 164.8 kB / 2.443 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/8.026, allocations: 1.294 MB / 2.444 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/8.027, allocations: 44.83 kB / 2.444 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/8.028, allocations: 0.9013 MB / 2.445 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/8.028, allocations: 245.3 kB / 2.446 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.507e-05/8.028, allocations: 17 kB / 2.446 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001062/8.028, allocations: 342.7 kB / 2.446 GB, free: 113 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/8.029, allocations: 293.4 kB / 2.446 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/8.03, allocations: 0.6699 MB / 2.447 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/8.031, allocations: 419.1 kB / 2.447 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/8.031, allocations: 3 kB / 2.447 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003087/8.034, allocations: 1.12 MB / 2.448 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008775/8.035, allocations: 3.738 MB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/8.035, allocations: 13.28 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-05/8.036, allocations: 14.91 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/8.038, allocations: 250.8 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/8.038, allocations: 24.34 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/8.04, allocations: 128.9 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/8.041, allocations: 52.7 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/8.041, allocations: 3.938 kB / 2.452 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002401/8.043, allocations: 0.9373 MB / 2.453 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/8.043, allocations: 17.41 kB / 2.453 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/8.043, allocations: 18.73 kB / 2.453 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/8.045, allocations: 249.2 kB / 2.454 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-05/8.045, allocations: 24.06 kB / 2.454 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/8.047, allocations: 131.4 kB / 2.454 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/8.048, allocations: 51.08 kB / 2.454 GB, free: 107.3 MB / 0.8855 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.0004502/8.048, allocations: 166.3 kB / 2.454 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/8.049, allocations: 169.8 kB / 2.454 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003247/8.052, allocations: 0.987 MB / 2.455 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/8.052, allocations: 7.688 kB / 2.455 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/8.052, allocations: 6.906 kB / 2.455 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00175/8.054, allocations: 0.6804 MB / 2.456 GB, free: 106.4 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.006163/8.06, allocations: 2.279 MB / 2.458 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/8.06, allocations: 5.031 kB / 2.458 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/8.062, allocations: 159.7 kB / 2.458 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/8.062, allocations: 26.52 kB / 2.458 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/8.062, allocations: 26.02 kB / 2.458 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/8.063, allocations: 1.31 MB / 2.459 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/8.063, allocations: 0 / 2.459 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/8.066, allocations: 1.394 MB / 2.461 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/8.067, allocations: 340.5 kB / 2.461 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/8.068, allocations: 18.34 kB / 2.461 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/8.07, allocations: 115.7 kB / 2.461 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/8.07, allocations: 60.12 kB / 2.461 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/8.07, allocations: 32.28 kB / 2.461 GB, free: 103 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002112/8.072, allocations: 0.9895 MB / 2.462 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.11e-07/8.072, allocations: 0 / 2.462 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005002/8.077, allocations: 1.12 MB / 2.463 GB, free: 102.3 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.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.006323/8.084, allocations: 3.15 MB / 2.467 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003632/8.087, allocations: 1.5 MB / 2.468 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/8.087, allocations: 1.875 kB / 2.468 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/8.089, allocations: 495.2 kB / 2.468 GB, free: 99.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006209/8.095, allocations: 0.7564 MB / 2.469 GB, free: 99.67 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/8.104, allocations: 2.884 MB / 2.472 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/8.106, allocations: 1.451 MB / 2.473 GB, free: 97.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004045/8.11, allocations: 0.5525 MB / 2.474 GB, free: 97.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/8.111, allocations: 0.7178 MB / 2.475 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of SimCode: time 1.103e-06/8.111, allocations: 2.812 kB / 2.475 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/8.252, allocations: 58.41 MB / 2.532 GB, free: 60.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/8.253, allocations: 215 kB / 2.532 GB, free: 60.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.305/13.56, allocations: 0 / 2.532 GB, free: 60.5 MB / 0.8855 GB