Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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_T,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.23/2.23, allocations: 248.7 MB / 256.2 MB, free: 7.156 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.001473/0.001472, allocations: 186.3 kB / 315.4 MB, free: 3.992 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.143/2.143, allocations: 205.2 MB / 0.5662 GB, free: 0.6289 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.001071/0.001071, allocations: 95.55 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.169e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2049, allocations: 106.2 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.937/2.142, allocations: 447 MB / 1.321 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/2.143, allocations: 94.56 kB / 1.321 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.647/7.79, allocations: 1.129 GB / 2.45 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.265e-06/7.79, allocations: 0 / 2.45 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003086/7.79, allocations: 58.06 kB / 2.45 GB, free: 121.1 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.006234/7.796, allocations: 2.077 MB / 2.452 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/7.797, allocations: 11.34 kB / 2.452 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003755/7.8, allocations: 459.6 kB / 2.452 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009508/7.81, allocations: 2.294 MB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/7.81, allocations: 35.06 kB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004419/7.81, allocations: 75.16 kB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002365/7.813, allocations: 0.7859 MB / 2.456 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/7.815, allocations: 1.099 MB / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.802e-05/7.816, allocations: 0 / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/7.816, allocations: 3.938 kB / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/7.816, allocations: 30.78 kB / 2.457 GB, free: 117.9 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.01302/7.829, allocations: 6.676 MB / 2.463 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/7.831, allocations: 1.14 MB / 2.464 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/7.831, allocations: 302.6 kB / 2.465 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00682/7.838, allocations: 2.872 MB / 2.467 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/7.839, allocations: 340.3 kB / 2.468 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009943/7.84, allocations: 71.23 kB / 2.468 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.51e-06/7.84, allocations: 0 / 2.468 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.009445/7.85, allocations: 1.292 MB / 2.469 GB, free: 109 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/7.85, allocations: 163.5 kB / 2.469 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/7.852, allocations: 1.247 MB / 2.47 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/7.853, allocations: 29.27 kB / 2.47 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/7.854, allocations: 0.8836 MB / 2.471 GB, free: 107.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/7.854, allocations: 204.6 kB / 2.471 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/7.854, allocations: 0 / 2.471 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001086/7.854, allocations: 344.9 kB / 2.472 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006544/7.855, allocations: 261.4 kB / 2.472 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009136/7.856, allocations: 0.688 MB / 2.473 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/7.864, allocations: 0.998 MB / 2.474 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/7.864, allocations: 0 / 2.474 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01021/7.874, allocations: 1.641 MB / 2.475 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/7.875, allocations: 4.539 MB / 2.48 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-05/7.876, allocations: 13.44 kB / 2.48 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.402e-05/7.876, allocations: 18.12 kB / 2.48 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001963/7.878, allocations: 250.7 kB / 2.48 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/7.878, allocations: 29.39 kB / 2.48 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/7.88, allocations: 95.34 kB / 2.48 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/7.881, allocations: 53.5 kB / 2.48 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/7.881, allocations: 3.75 kB / 2.48 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009414/7.89, allocations: 1.43 MB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/7.89, allocations: 10.53 kB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/7.89, allocations: 19 kB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/7.892, allocations: 246.4 kB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.595e-05/7.892, allocations: 22.88 kB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/7.894, allocations: 94.8 kB / 2.482 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/7.894, allocations: 56.59 kB / 2.482 GB, free: 100.5 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.0003802/7.895, allocations: 143.8 kB / 2.482 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009068/7.904, allocations: 1.271 MB / 2.483 GB, free: 100 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/7.904, allocations: 164.1 kB / 2.484 GB, free: 99.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009543/7.914, allocations: 1.49 MB / 2.485 GB, free: 99.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/7.914, allocations: 11.86 kB / 2.485 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/7.914, allocations: 3.562 kB / 2.485 GB, free: 99.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008224/7.922, allocations: 1.34 MB / 2.486 GB, free: 99.07 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.01244/7.935, allocations: 2.56 MB / 2.489 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/7.935, allocations: 0 / 2.489 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/7.936, allocations: 139.5 kB / 2.489 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/7.937, allocations: 29.06 kB / 2.489 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/7.937, allocations: 14.86 kB / 2.489 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/7.938, allocations: 1.262 MB / 2.49 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/7.938, allocations: 5.75 kB / 2.49 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009826/7.948, allocations: 1.871 MB / 2.492 GB, free: 96.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/7.949, allocations: 328.5 kB / 2.492 GB, free: 95.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004086/7.949, allocations: 7.922 kB / 2.492 GB, free: 95.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/7.951, allocations: 75.95 kB / 2.492 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/7.951, allocations: 52.97 kB / 2.493 GB, free: 95.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/7.952, allocations: 30.58 kB / 2.493 GB, free: 95.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001975/7.954, allocations: 0.9248 MB / 2.493 GB, free: 95.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.322e-06/7.954, allocations: 4 kB / 2.493 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006093/7.96, allocations: 0.9892 MB / 2.494 GB, free: 95.26 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.01374/7.974, allocations: 3.691 MB / 2.498 GB, free: 93.57 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003294/7.977, allocations: 1.363 MB / 2.499 GB, free: 92.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/7.977, allocations: 3.719 kB / 2.499 GB, free: 92.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/7.978, allocations: 434.7 kB / 2.5 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/7.983, allocations: 0.6209 MB / 2.5 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009238/7.993, allocations: 2.74 MB / 2.503 GB, free: 91.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/7.994, allocations: 1.413 MB / 2.504 GB, free: 90.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00448/7.998, allocations: 0.5901 MB / 2.505 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/8, allocations: 0.6903 MB / 2.506 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/8, allocations: 0 / 2.506 GB, free: 89.87 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/8.135, allocations: 47.82 MB / 2.552 GB, free: 45.84 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/8.136, allocations: 186.3 kB / 2.553 GB, free: 45.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.832/12.97, allocations: 0 / 2.553 GB, free: 45.64 MB / 0.8855 GB