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.099/2.099, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001567, allocations: 174.4 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.00112/0.001119, allocations: 99.16 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005209, allocations: 14.09 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1972, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.436, allocations: 440.3 MB / 1.329 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.436, allocations: 99.75 kB / 1.329 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.23/7.666, allocations: 1.106 GB / 2.435 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.407e-06/7.666, allocations: 0.75 kB / 2.435 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004615/7.667, allocations: 61.66 kB / 2.435 GB, free: 127.3 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.01177/7.678, allocations: 2.68 MB / 2.438 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/7.678, allocations: 9.844 kB / 2.438 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000871/7.679, allocations: 184.3 kB / 2.438 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/7.683, allocations: 375.5 kB / 2.438 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/7.694, allocations: 2.487 MB / 2.441 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/7.694, allocations: 105.4 kB / 2.441 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005998/7.695, allocations: 132.9 kB / 2.441 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/7.7, allocations: 1.417 MB / 2.442 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-05/7.7, allocations: 8.156 kB / 2.442 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/7.7, allocations: 53.02 kB / 2.442 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/7.7, allocations: 31.09 kB / 2.442 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003991/7.704, allocations: 1.035 MB / 2.443 GB, free: 125.7 MB / 0.8855 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.01396/7.718, allocations: 7.148 MB / 2.45 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/7.721, allocations: 1.289 MB / 2.452 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005281/7.726, allocations: 2.236 MB / 2.454 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001374/7.728, allocations: 441.3 kB / 2.454 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001273/7.729, allocations: 94.23 kB / 2.454 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 4.979e-06/7.729, allocations: 0 / 2.454 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69): time 0.004356/7.733, allocations: 1.21 MB / 2.456 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/7.734, allocations: 167.7 kB / 2.456 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00291/7.736, allocations: 1.311 MB / 2.457 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003093/7.737, allocations: 45.98 kB / 2.457 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009895/7.738, allocations: 0.8966 MB / 2.458 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/7.738, allocations: 241 kB / 2.458 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/7.738, allocations: 22.38 kB / 2.458 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001009/7.738, allocations: 344.8 kB / 2.459 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/7.74, allocations: 347.5 kB / 2.459 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/7.741, allocations: 0.727 MB / 2.46 GB, free: 118 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/7.743, allocations: 477 kB / 2.46 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/7.743, allocations: 2.969 kB / 2.46 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005348/7.749, allocations: 1.236 MB / 2.461 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000806/7.75, allocations: 3.738 MB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/7.75, allocations: 14.75 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/7.75, allocations: 14.88 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/7.752, allocations: 253.1 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/7.752, allocations: 21.17 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/7.754, allocations: 130.8 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/7.754, allocations: 56.55 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/7.754, allocations: 2.812 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00322/7.758, allocations: 1.061 MB / 2.466 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/7.758, allocations: 9.719 kB / 2.466 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/7.758, allocations: 17.5 kB / 2.466 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/7.759, allocations: 249.1 kB / 2.467 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/7.759, allocations: 20.98 kB / 2.467 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/7.762, allocations: 134.2 kB / 2.467 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/7.762, allocations: 55.47 kB / 2.467 GB, free: 113.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.001291/7.763, allocations: 498.4 kB / 2.467 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/7.764, allocations: 162.8 kB / 2.467 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/7.768, allocations: 1.099 MB / 2.469 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/7.768, allocations: 16.28 kB / 2.469 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/7.768, allocations: 0.5469 kB / 2.469 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002598/7.77, allocations: 0.7945 MB / 2.469 GB, free: 113.3 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.006876/7.777, allocations: 2.391 MB / 2.472 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/7.777, allocations: 3.875 kB / 2.472 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/7.779, allocations: 153.7 kB / 2.472 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/7.779, allocations: 29.44 kB / 2.472 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-05/7.779, allocations: 22.25 kB / 2.472 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/7.78, allocations: 1.323 MB / 2.473 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/7.78, allocations: 3.781 kB / 2.473 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/7.785, allocations: 1.559 MB / 2.475 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/7.786, allocations: 347.2 kB / 2.475 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003873/7.786, allocations: 18.03 kB / 2.475 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/7.788, allocations: 114.9 kB / 2.475 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/7.788, allocations: 54.75 kB / 2.475 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/7.788, allocations: 37.09 kB / 2.475 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002089/7.79, allocations: 1.01 MB / 2.476 GB, free: 111 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.91e-07/7.791, allocations: 0 / 2.476 GB, free: 111 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004885/7.795, allocations: 1.124 MB / 2.477 GB, free: 110.8 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 69 * 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.007571/7.803, allocations: 3.307 MB / 2.481 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004918/7.808, allocations: 1.605 MB / 2.482 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/7.808, allocations: 4.094 kB / 2.482 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001763/7.81, allocations: 0.5357 MB / 2.483 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/7.817, allocations: 0.7617 MB / 2.483 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/7.831, allocations: 11.31 MB / 2.494 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/7.832, allocations: 1.445 MB / 2.496 GB, free: 99.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0032/7.835, allocations: 422.3 kB / 2.496 GB, free: 99.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/7.837, allocations: 0.7521 MB / 2.497 GB, free: 99.75 MB / 0.8855 GB Notification: Performance of SimCode: time 1.012e-06/7.837, allocations: 0 / 2.497 GB, free: 99.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/7.968, allocations: 53.94 MB / 2.55 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/7.969, allocations: 250.7 kB / 2.55 GB, free: 97.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.883/12.85, allocations: 0 / 2.55 GB, free: 97.45 MB / 0.8855 GB