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.236/2.236, allocations: 248.7 MB / 256.2 MB, free: 7.086 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.001491/0.001491, allocations: 180.4 kB / 315.4 MB, free: 3.965 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.029/2.029, allocations: 205.3 MB / 0.5662 GB, free: 0.582 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 99.94 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.361e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1938, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.966/2.16, allocations: 440.5 MB / 1.314 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/2.161, allocations: 95.22 kB / 1.314 GB, free: 257.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.562/7.723, allocations: 1.097 GB / 2.412 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.053e-06/7.723, allocations: 0 / 2.412 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004062/7.723, allocations: 54.88 kB / 2.412 GB, free: 124.9 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.007261/7.731, allocations: 2.182 MB / 2.414 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/7.731, allocations: 10.91 kB / 2.414 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/7.734, allocations: 371.2 kB / 2.414 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009777/7.744, allocations: 2.463 MB / 2.417 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/7.744, allocations: 40.53 kB / 2.417 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/7.744, allocations: 86.81 kB / 2.417 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002578/7.747, allocations: 0.8557 MB / 2.417 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/7.75, allocations: 1.18 MB / 2.419 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.845e-05/7.75, allocations: 9.844 kB / 2.419 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/7.75, allocations: 0 / 2.419 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-05/7.75, allocations: 36.09 kB / 2.419 GB, free: 123 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.01371/7.764, allocations: 6.925 MB / 2.425 GB, free: 119 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/7.766, allocations: 1.169 MB / 2.427 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/7.767, allocations: 339.6 kB / 2.427 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005611/7.772, allocations: 2.223 MB / 2.429 GB, free: 117 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008951/7.773, allocations: 380.9 kB / 2.429 GB, free: 117 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001283/7.774, allocations: 70.61 kB / 2.43 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 8.566e-06/7.774, allocations: 1.062 kB / 2.43 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.003764/7.778, allocations: 0.8181 MB / 2.43 GB, free: 116.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/7.778, allocations: 163.8 kB / 2.43 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/7.781, allocations: 1.192 MB / 2.432 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002951/7.782, allocations: 29.11 kB / 2.432 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/7.783, allocations: 0.8925 MB / 2.433 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/7.783, allocations: 232.2 kB / 2.433 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/7.783, allocations: 0 / 2.433 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001027/7.783, allocations: 339 kB / 2.433 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006833/7.784, allocations: 283.8 kB / 2.433 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008951/7.785, allocations: 0.6611 MB / 2.434 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/7.787, allocations: 474.1 kB / 2.434 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/7.787, allocations: 2.688 kB / 2.434 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003617/7.79, allocations: 1.104 MB / 2.436 GB, free: 115 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008609/7.791, allocations: 3.732 MB / 2.439 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/7.791, allocations: 14.48 kB / 2.439 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/7.791, allocations: 20.44 kB / 2.439 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/7.793, allocations: 246.6 kB / 2.439 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/7.793, allocations: 22.58 kB / 2.439 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/7.796, allocations: 111.5 kB / 2.44 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/7.796, allocations: 51.97 kB / 2.44 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/7.796, allocations: 6.938 kB / 2.44 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003095/7.799, allocations: 0.887 MB / 2.44 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/7.799, allocations: 13.48 kB / 2.441 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/7.799, allocations: 20.47 kB / 2.441 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/7.801, allocations: 249.1 kB / 2.441 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/7.801, allocations: 18.97 kB / 2.441 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/7.803, allocations: 106.5 kB / 2.441 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/7.803, allocations: 62.72 kB / 2.441 GB, free: 111.1 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.0003682/7.804, allocations: 138.8 kB / 2.441 GB, free: 111 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002783/7.807, allocations: 0.7848 MB / 2.442 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/7.807, allocations: 166.2 kB / 2.442 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/7.81, allocations: 0.975 MB / 2.443 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/7.81, allocations: 9.562 kB / 2.443 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/7.81, allocations: 3.5 kB / 2.443 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001944/7.812, allocations: 0.6947 MB / 2.444 GB, free: 110.5 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.005868/7.818, allocations: 2.133 MB / 2.446 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/7.818, allocations: 0 / 2.446 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/7.819, allocations: 166.9 kB / 2.446 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/7.82, allocations: 23.67 kB / 2.446 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.991e-05/7.82, allocations: 13.73 kB / 2.446 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/7.821, allocations: 1.275 MB / 2.447 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/7.821, allocations: 0 / 2.447 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/7.824, allocations: 1.395 MB / 2.449 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/7.826, allocations: 345.8 kB / 2.449 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/7.826, allocations: 10 kB / 2.449 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/7.828, allocations: 97.02 kB / 2.449 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/7.828, allocations: 56.97 kB / 2.449 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/7.828, allocations: 31.56 kB / 2.449 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001839/7.83, allocations: 0.8959 MB / 2.45 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.31e-07/7.83, allocations: 0 / 2.45 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00516/7.835, allocations: 1.071 MB / 2.451 GB, free: 108.2 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.006584/7.842, allocations: 3.099 MB / 2.454 GB, free: 107 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003134/7.845, allocations: 1.427 MB / 2.455 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/7.845, allocations: 0 / 2.455 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/7.846, allocations: 476 kB / 2.456 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00625/7.852, allocations: 0.7389 MB / 2.457 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009574/7.862, allocations: 2.812 MB / 2.459 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/7.863, allocations: 1.445 MB / 2.461 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004167/7.867, allocations: 0.545 MB / 2.461 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/7.869, allocations: 0.7126 MB / 2.462 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.934e-06/7.869, allocations: 5.219 kB / 2.462 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/8.017, allocations: 50.84 MB / 2.512 GB, free: 88.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/8.017, allocations: 179 kB / 2.512 GB, free: 88.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.695/12.71, allocations: 3.234 kB / 2.512 GB, free: 88.38 MB / 0.8855 GB