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.088/2.088, allocations: 251 MB / 265.9 MB, free: 11.68 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.001603/0.001602, allocations: 183.3 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.298/2.298, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.001139/0.001139, allocations: 87.98 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004823, allocations: 12.09 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2123, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.503, allocations: 446.8 MB / 1.335 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.503, allocations: 99.64 kB / 1.335 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.593/8.096, allocations: 1.139 GB / 2.474 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/8.096, allocations: 0 / 2.474 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003689/8.097, allocations: 52.72 kB / 2.474 GB, free: 133.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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01068/8.107, allocations: 2.579 MB / 2.476 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.172e-05/8.107, allocations: 9.688 kB / 2.476 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000745/8.108, allocations: 164.3 kB / 2.476 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/8.112, allocations: 459.3 kB / 2.477 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009968/8.122, allocations: 2.325 MB / 2.479 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/8.123, allocations: 88.88 kB / 2.479 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/8.123, allocations: 124.8 kB / 2.479 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/8.127, allocations: 1.311 MB / 2.481 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.619e-05/8.127, allocations: 8.75 kB / 2.481 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/8.127, allocations: 50.92 kB / 2.481 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/8.127, allocations: 26.97 kB / 2.481 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00356/8.131, allocations: 0.9692 MB / 2.482 GB, free: 131.5 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.01284/8.143, allocations: 6.87 MB / 2.488 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/8.147, allocations: 1.273 MB / 2.49 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006814/8.154, allocations: 2.879 MB / 2.492 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/8.155, allocations: 409.1 kB / 2.493 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001117/8.156, allocations: 92.88 kB / 2.493 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 4.509e-06/8.156, allocations: 0 / 2.493 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.004515/8.161, allocations: 1.127 MB / 2.494 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/8.161, allocations: 162.6 kB / 2.494 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/8.164, allocations: 1.359 MB / 2.496 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002551/8.164, allocations: 43.48 kB / 2.496 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009171/8.165, allocations: 0.8897 MB / 2.496 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/8.165, allocations: 214.5 kB / 2.497 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/8.165, allocations: 23.25 kB / 2.497 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/8.166, allocations: 344.2 kB / 2.497 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/8.167, allocations: 332.6 kB / 2.497 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/8.168, allocations: 0.763 MB / 2.498 GB, free: 123 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/8.17, allocations: 468.6 kB / 2.498 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/8.17, allocations: 3.281 kB / 2.498 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004395/8.174, allocations: 1.215 MB / 2.5 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/8.176, allocations: 4.549 MB / 2.504 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.636e-05/8.176, allocations: 13.66 kB / 2.504 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.082e-05/8.176, allocations: 17.56 kB / 2.504 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/8.178, allocations: 250.5 kB / 2.504 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.91e-05/8.178, allocations: 24.66 kB / 2.504 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002567/8.18, allocations: 117.7 kB / 2.505 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003313/8.181, allocations: 54.02 kB / 2.505 GB, free: 118 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/8.181, allocations: 2.969 kB / 2.505 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003758/8.185, allocations: 1.054 MB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.535e-05/8.185, allocations: 14.5 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/8.185, allocations: 23.09 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/8.186, allocations: 246.3 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/8.187, allocations: 27.03 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/8.189, allocations: 111.3 kB / 2.506 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/8.189, allocations: 59.23 kB / 2.506 GB, free: 117.9 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 () * 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.001364/8.191, allocations: 494.5 kB / 2.507 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/8.191, allocations: 163.1 kB / 2.507 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/8.195, allocations: 1.063 MB / 2.508 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/8.195, allocations: 7.125 kB / 2.508 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/8.195, allocations: 0 / 2.508 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002719/8.198, allocations: 0.8936 MB / 2.509 GB, free: 117.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.007476/8.206, allocations: 2.271 MB / 2.511 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/8.206, allocations: 0 / 2.511 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/8.207, allocations: 135.6 kB / 2.511 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/8.207, allocations: 29.59 kB / 2.511 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/8.208, allocations: 28.08 kB / 2.511 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/8.209, allocations: 1.312 MB / 2.512 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/8.209, allocations: 3.781 kB / 2.512 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/8.214, allocations: 1.476 MB / 2.514 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/8.215, allocations: 347.8 kB / 2.514 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/8.216, allocations: 22.86 kB / 2.514 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/8.218, allocations: 100.3 kB / 2.514 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/8.218, allocations: 55.72 kB / 2.514 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/8.219, allocations: 27.88 kB / 2.514 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003255/8.222, allocations: 1.102 MB / 2.515 GB, free: 115 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.493e-06/8.222, allocations: 0 / 2.515 GB, free: 115 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006403/8.228, allocations: 1.028 MB / 2.516 GB, free: 114.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.outCon.T) * 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 (70): * Single equations (assignments): 61 * 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.009488/8.238, allocations: 3.39 MB / 2.52 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005419/8.243, allocations: 1.555 MB / 2.521 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/8.243, allocations: 3.469 kB / 2.521 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/8.245, allocations: 0.5024 MB / 2.522 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/8.251, allocations: 0.73 MB / 2.522 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/8.266, allocations: 12.59 MB / 2.535 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001996/8.268, allocations: 1.403 MB / 2.536 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003312/8.272, allocations: 434.2 kB / 2.536 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/8.273, allocations: 0.7189 MB / 2.537 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/8.273, allocations: 5.25 kB / 2.537 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/8.406, allocations: 53.18 MB / 2.589 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/8.407, allocations: 241.1 kB / 2.589 GB, free: 99.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.745/13.15, allocations: 11.84 kB / 2.589 GB, free: 99.67 MB / 0.8855 GB