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.194/2.194, allocations: 248.5 MB / 261.1 MB, free: 6.027 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.001411/0.001411, allocations: 170.7 kB / 320.4 MB, free: 15.34 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.893/1.893, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001098/0.001098, allocations: 98.41 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.909e-05/3.926e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2073, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.896/2.103, allocations: 446.9 MB / 1.327 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/2.103, allocations: 91.14 kB / 1.327 GB, free: 248.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.663/7.767, allocations: 1.135 GB / 2.462 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/7.767, allocations: 0 / 2.462 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000396/7.767, allocations: 62.05 kB / 2.462 GB, free: 115.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.006865/7.774, allocations: 2.087 MB / 2.464 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/7.774, allocations: 10.91 kB / 2.464 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006202/7.775, allocations: 160.1 kB / 2.464 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/7.779, allocations: 468.5 kB / 2.465 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009845/7.789, allocations: 2.284 MB / 2.467 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/7.789, allocations: 89.41 kB / 2.467 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/7.79, allocations: 123.5 kB / 2.467 GB, free: 112.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/7.793, allocations: 1.245 MB / 2.469 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.066e-05/7.793, allocations: 7.812 kB / 2.469 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/7.793, allocations: 53.02 kB / 2.469 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/7.793, allocations: 28.34 kB / 2.469 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/7.796, allocations: 0.8318 MB / 2.469 GB, free: 111.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 preOpt removeSimpleEquations (simulation): time 0.01378/7.81, allocations: 6.872 MB / 2.476 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/7.812, allocations: 1.139 MB / 2.477 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/7.813, allocations: 314.2 kB / 2.478 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006733/7.82, allocations: 2.898 MB / 2.48 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008197/7.82, allocations: 351.5 kB / 2.481 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001062/7.821, allocations: 89.81 kB / 2.481 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.21e-06/7.822, allocations: 0 / 2.481 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002175/7.824, allocations: 0.6666 MB / 2.482 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/7.824, allocations: 166.3 kB / 2.482 GB, free: 102 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/7.827, allocations: 1.341 MB / 2.483 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002759/7.827, allocations: 45.11 kB / 2.483 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/7.828, allocations: 0.8929 MB / 2.484 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/7.829, allocations: 219.2 kB / 2.484 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/7.829, allocations: 19.28 kB / 2.484 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.829, allocations: 345.5 kB / 2.484 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007306/7.83, allocations: 265.5 kB / 2.485 GB, free: 99.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/7.831, allocations: 0.7008 MB / 2.485 GB, free: 99.17 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/7.832, allocations: 418.3 kB / 2.486 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/7.832, allocations: 0 / 2.486 GB, free: 98.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003077/7.835, allocations: 1.098 MB / 2.487 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001192/7.836, allocations: 4.559 MB / 2.491 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.519e-05/7.836, allocations: 15.5 kB / 2.491 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.402e-05/7.836, allocations: 19 kB / 2.491 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/7.838, allocations: 246.7 kB / 2.492 GB, free: 93.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.859e-05/7.838, allocations: 27.14 kB / 2.492 GB, free: 93.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/7.841, allocations: 113.5 kB / 2.492 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/7.841, allocations: 62.06 kB / 2.492 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/7.841, allocations: 3.812 kB / 2.492 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002507/7.844, allocations: 0.9274 MB / 2.493 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/7.844, allocations: 16.77 kB / 2.493 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/7.844, allocations: 20.28 kB / 2.493 GB, free: 92.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/7.846, allocations: 242.6 kB / 2.493 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/7.846, allocations: 29.22 kB / 2.493 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/7.848, allocations: 111.4 kB / 2.493 GB, free: 92.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/7.848, allocations: 55.39 kB / 2.493 GB, free: 92.84 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.0004271/7.849, allocations: 176.1 kB / 2.493 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/7.849, allocations: 170.5 kB / 2.493 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002964/7.852, allocations: 0.9452 MB / 2.494 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.223e-05/7.852, allocations: 11.83 kB / 2.494 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/7.852, allocations: 3.984 kB / 2.494 GB, free: 92.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001611/7.854, allocations: 0.7797 MB / 2.495 GB, free: 91.57 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.005715/7.86, allocations: 2.145 MB / 2.497 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/7.86, allocations: 3.906 kB / 2.497 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/7.861, allocations: 130.1 kB / 2.497 GB, free: 90.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/7.861, allocations: 26.88 kB / 2.497 GB, free: 90.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/7.862, allocations: 23.61 kB / 2.497 GB, free: 90.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/7.863, allocations: 1.308 MB / 2.499 GB, free: 88.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/7.863, allocations: 2.438 kB / 2.499 GB, free: 88.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/7.866, allocations: 1.311 MB / 2.5 GB, free: 87.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/7.867, allocations: 352 kB / 2.5 GB, free: 87.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/7.868, allocations: 15.94 kB / 2.5 GB, free: 87.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/7.87, allocations: 98.42 kB / 2.5 GB, free: 87.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/7.87, allocations: 53.61 kB / 2.5 GB, free: 87.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/7.87, allocations: 27.14 kB / 2.501 GB, free: 87.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00237/7.873, allocations: 1.083 MB / 2.502 GB, free: 87.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.132e-06/7.873, allocations: 6.062 kB / 2.502 GB, free: 87.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004727/7.877, allocations: 1.013 MB / 2.503 GB, free: 86.75 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) * 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.006424/7.884, allocations: 3.183 MB / 2.506 GB, free: 84.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003349/7.887, allocations: 1.431 MB / 2.507 GB, free: 83.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/7.887, allocations: 6.844 kB / 2.507 GB, free: 83.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/7.888, allocations: 461.9 kB / 2.508 GB, free: 82.84 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006081/7.895, allocations: 0.7407 MB / 2.508 GB, free: 82.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/7.904, allocations: 2.812 MB / 2.511 GB, free: 79.33 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/7.905, allocations: 1.414 MB / 2.512 GB, free: 77.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004517/7.91, allocations: 0.6057 MB / 2.513 GB, free: 77.33 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/7.911, allocations: 0.6945 MB / 2.514 GB, free: 76.63 MB / 0.8855 GB Notification: Performance of SimCode: time 1.543e-06/7.911, allocations: 0 / 2.514 GB, free: 76.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/8.083, allocations: 57.55 MB / 2.57 GB, free: 20.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002858/8.083, allocations: 219.7 kB / 2.57 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.072/13.16, allocations: 0 / 2.57 GB, free: 19.86 MB / 0.8855 GB