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.134/2.134, allocations: 248.5 MB / 261.1 MB, free: 6.062 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.001477/0.001477, allocations: 188 kB / 320.4 MB, free: 15.35 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.925/1.925, 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.001148/0.001148, allocations: 97.22 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.138e-05/4.151e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.957/2.157, allocations: 446.7 MB / 1.327 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/2.157, allocations: 103.2 kB / 1.327 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.623/7.78, allocations: 1.135 GB / 2.462 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/7.78, allocations: 0 / 2.462 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003238/7.781, allocations: 55.12 kB / 2.462 GB, free: 115.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.0069/7.788, allocations: 2.086 MB / 2.464 GB, free: 114 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/7.788, allocations: 10.81 kB / 2.464 GB, free: 114 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004769/7.788, allocations: 162.1 kB / 2.464 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/7.792, allocations: 466.4 kB / 2.465 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009977/7.802, allocations: 2.285 MB / 2.467 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/7.802, allocations: 92.38 kB / 2.467 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/7.803, allocations: 126.4 kB / 2.467 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/7.806, allocations: 1.243 MB / 2.468 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/7.806, allocations: 7.688 kB / 2.468 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/7.806, allocations: 52.53 kB / 2.468 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-05/7.806, allocations: 29.44 kB / 2.468 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/7.808, allocations: 0.8309 MB / 2.469 GB, free: 111.7 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.01243/7.821, allocations: 6.875 MB / 2.476 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/7.823, allocations: 1.136 MB / 2.477 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/7.824, allocations: 312.7 kB / 2.477 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006428/7.83, allocations: 2.903 MB / 2.48 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000813/7.831, allocations: 346.5 kB / 2.48 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008973/7.832, allocations: 96.41 kB / 2.481 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.579e-06/7.832, allocations: 0 / 2.481 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001826/7.834, allocations: 0.6663 MB / 2.481 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/7.834, allocations: 165.5 kB / 2.481 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/7.836, allocations: 1.339 MB / 2.483 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/7.837, allocations: 45.55 kB / 2.483 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009317/7.838, allocations: 0.8913 MB / 2.484 GB, free: 101 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/7.838, allocations: 217.8 kB / 2.484 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/7.838, allocations: 19.88 kB / 2.484 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/7.838, allocations: 344.7 kB / 2.484 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007194/7.839, allocations: 268.1 kB / 2.484 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/7.84, allocations: 0.7028 MB / 2.485 GB, free: 99.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/7.841, allocations: 407.2 kB / 2.485 GB, free: 99.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/7.841, allocations: 7.719 kB / 2.485 GB, free: 99.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002839/7.844, allocations: 1.106 MB / 2.487 GB, free: 98.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/7.845, allocations: 4.557 MB / 2.491 GB, free: 94.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-05/7.845, allocations: 12.12 kB / 2.491 GB, free: 94.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.284e-05/7.845, allocations: 22.05 kB / 2.491 GB, free: 94.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/7.847, allocations: 244 kB / 2.491 GB, free: 93.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.098e-05/7.847, allocations: 23.7 kB / 2.491 GB, free: 93.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/7.849, allocations: 116.5 kB / 2.491 GB, free: 93.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/7.849, allocations: 60.25 kB / 2.491 GB, free: 93.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/7.849, allocations: 3.844 kB / 2.491 GB, free: 93.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002321/7.852, allocations: 0.9331 MB / 2.492 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/7.852, allocations: 11.16 kB / 2.492 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/7.852, allocations: 18.53 kB / 2.492 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/7.853, allocations: 244 kB / 2.493 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/7.853, allocations: 29.06 kB / 2.493 GB, free: 93.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/7.856, allocations: 112.8 kB / 2.493 GB, free: 93.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/7.856, allocations: 56.02 kB / 2.493 GB, free: 93.32 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.0003883/7.856, allocations: 171.1 kB / 2.493 GB, free: 93.17 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/7.857, allocations: 172.1 kB / 2.493 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/7.859, allocations: 0.9405 MB / 2.494 GB, free: 92.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/7.859, allocations: 22.75 kB / 2.494 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/7.859, allocations: 0 / 2.494 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/7.861, allocations: 0.7826 MB / 2.495 GB, free: 92.05 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.005354/7.866, allocations: 2.146 MB / 2.497 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/7.866, allocations: 2.5 kB / 2.497 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/7.868, allocations: 129.7 kB / 2.497 GB, free: 90.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/7.868, allocations: 32.69 kB / 2.497 GB, free: 90.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/7.868, allocations: 22.52 kB / 2.497 GB, free: 90.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/7.869, allocations: 1.297 MB / 2.498 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/7.869, allocations: 10.59 kB / 2.498 GB, free: 89.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/7.872, allocations: 1.308 MB / 2.5 GB, free: 88.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/7.873, allocations: 344.5 kB / 2.5 GB, free: 88.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/7.874, allocations: 18.69 kB / 2.5 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/7.876, allocations: 98.8 kB / 2.5 GB, free: 88.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/7.876, allocations: 58.33 kB / 2.5 GB, free: 88.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/7.876, allocations: 25.95 kB / 2.5 GB, free: 88.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002353/7.878, allocations: 1.081 MB / 2.501 GB, free: 87.51 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/7.878, allocations: 2.297 kB / 2.501 GB, free: 87.51 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005057/7.883, allocations: 1.016 MB / 2.502 GB, free: 87.23 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.006684/7.89, allocations: 3.192 MB / 2.505 GB, free: 85.51 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00354/7.894, allocations: 1.435 MB / 2.507 GB, free: 84.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/7.894, allocations: 0 / 2.507 GB, free: 84.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/7.895, allocations: 458 kB / 2.507 GB, free: 83.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/7.901, allocations: 0.7404 MB / 2.508 GB, free: 83.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/7.909, allocations: 2.819 MB / 2.511 GB, free: 80.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/7.91, allocations: 1.41 MB / 2.512 GB, free: 78.99 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003966/7.914, allocations: 0.6089 MB / 2.513 GB, free: 78.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/7.916, allocations: 0.6906 MB / 2.513 GB, free: 77.74 MB / 0.8855 GB Notification: Performance of SimCode: time 1.152e-06/7.916, allocations: 0 / 2.513 GB, free: 77.74 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/8.056, allocations: 57.55 MB / 2.57 GB, free: 21.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/8.056, allocations: 212.8 kB / 2.57 GB, free: 20.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.122/13.18, allocations: 0 / 2.57 GB, free: 20.91 MB / 0.8855 GB