Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_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.479/2.479, allocations: 251 MB / 265.9 MB, free: 11.7 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.00154/0.001539, allocations: 180.5 kB / 325.5 MB, free: 2.91 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.305/2.305, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.00118/0.00118, allocations: 97.19 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006943/0.0006944, allocations: 13.41 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2258, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.507, allocations: 446.9 MB / 1.335 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.507, allocations: 99.2 kB / 1.335 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.261/7.768, allocations: 1.139 GB / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.106e-06/7.768, allocations: 0 / 2.474 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003755/7.768, allocations: 54.58 kB / 2.474 GB, free: 133.4 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.009994/7.778, allocations: 2.579 MB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/7.778, allocations: 9.438 kB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007007/7.779, allocations: 172.8 kB / 2.477 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004182/7.783, allocations: 451.2 kB / 2.477 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/7.794, allocations: 2.326 MB / 2.48 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/7.794, allocations: 89.34 kB / 2.48 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003856/7.794, allocations: 122.4 kB / 2.48 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/7.798, allocations: 1.319 MB / 2.481 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/7.798, allocations: 0 / 2.481 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/7.798, allocations: 50.42 kB / 2.481 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/7.798, allocations: 29.59 kB / 2.481 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/7.802, allocations: 0.9637 MB / 2.482 GB, free: 131.6 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.01322/7.815, allocations: 6.871 MB / 2.489 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/7.818, allocations: 1.278 MB / 2.49 GB, free: 126.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006709/7.825, allocations: 2.878 MB / 2.493 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/7.826, allocations: 411.1 kB / 2.493 GB, free: 125 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001073/7.827, allocations: 87.95 kB / 2.493 GB, free: 125 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.747e-06/7.827, allocations: 0 / 2.493 GB, free: 125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.004486/7.832, allocations: 1.126 MB / 2.494 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/7.832, allocations: 165.3 kB / 2.495 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/7.835, allocations: 1.36 MB / 2.496 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/7.835, allocations: 46.48 kB / 2.496 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009624/7.836, allocations: 0.8887 MB / 2.497 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/7.837, allocations: 217.9 kB / 2.497 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/7.837, allocations: 21.06 kB / 2.497 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/7.837, allocations: 339.8 kB / 2.497 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/7.838, allocations: 333 kB / 2.498 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/7.84, allocations: 0.7599 MB / 2.498 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/7.841, allocations: 462.9 kB / 2.499 GB, free: 123 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/7.841, allocations: 3.719 kB / 2.499 GB, free: 123 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004091/7.846, allocations: 1.223 MB / 2.5 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009597/7.847, allocations: 4.547 MB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.326e-05/7.847, allocations: 15.06 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.758e-05/7.847, allocations: 24.72 kB / 2.504 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/7.849, allocations: 245.9 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/7.849, allocations: 28.25 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/7.851, allocations: 125.9 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/7.851, allocations: 54.27 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/7.851, allocations: 6.469 kB / 2.505 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003473/7.855, allocations: 1.047 MB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/7.855, allocations: 17.84 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/7.855, allocations: 18.31 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/7.857, allocations: 249 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/7.857, allocations: 21.44 kB / 2.506 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/7.859, allocations: 118.4 kB / 2.506 GB, free: 118 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/7.859, allocations: 51.48 kB / 2.506 GB, free: 118 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.001304/7.86, allocations: 485.9 kB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/7.861, allocations: 165.2 kB / 2.507 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/7.865, allocations: 1.062 MB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/7.865, allocations: 7.844 kB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/7.865, allocations: 3.938 kB / 2.508 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002637/7.868, allocations: 0.8984 MB / 2.509 GB, free: 117.4 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.007275/7.875, allocations: 2.272 MB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/7.875, allocations: 0 / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/7.876, allocations: 131.7 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/7.877, allocations: 33.44 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.775e-05/7.877, allocations: 20.72 kB / 2.511 GB, free: 117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/7.878, allocations: 1.305 MB / 2.513 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/7.878, allocations: 0 / 2.513 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004893/7.883, allocations: 1.48 MB / 2.514 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/7.885, allocations: 347.3 kB / 2.514 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009009/7.886, allocations: 25.2 kB / 2.514 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002376/7.888, allocations: 92.67 kB / 2.515 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/7.888, allocations: 58.78 kB / 2.515 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/7.889, allocations: 29.84 kB / 2.515 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002979/7.892, allocations: 1.105 MB / 2.516 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.011e-06/7.892, allocations: 0 / 2.516 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00658/7.898, allocations: 1.026 MB / 2.517 GB, free: 114.9 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,coo.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.008752/7.907, allocations: 3.399 MB / 2.52 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005017/7.912, allocations: 1.552 MB / 2.522 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/7.912, allocations: 0 / 2.522 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/7.914, allocations: 0.5054 MB / 2.522 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005791/7.92, allocations: 0.7331 MB / 2.523 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/7.933, allocations: 12.58 MB / 2.535 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/7.934, allocations: 1.411 MB / 2.536 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003067/7.937, allocations: 433.8 kB / 2.537 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/7.938, allocations: 0.7187 MB / 2.537 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of SimCode: time 8.31e-07/7.938, allocations: 2.516 kB / 2.537 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/8.065, allocations: 53.19 MB / 2.589 GB, free: 100 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/8.066, allocations: 244.8 kB / 2.59 GB, free: 99.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.865/12.93, allocations: 8 kB / 2.59 GB, free: 99.75 MB / 0.8855 GB