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.207/2.207, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001537/0.001537, allocations: 180.4 kB / 315.4 MB, free: 4.051 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.017/2.017, allocations: 205.3 MB / 0.5662 GB, free: 0.625 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.001107/0.001107, allocations: 94.5 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.937e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2064, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.96/2.166, allocations: 447.1 MB / 1.321 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/2.166, allocations: 94.53 kB / 1.321 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.769/7.936, allocations: 1.129 GB / 2.45 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.377e-06/7.936, allocations: 0 / 2.45 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003687/7.936, allocations: 58.67 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.006525/7.943, allocations: 2.079 MB / 2.452 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/7.943, allocations: 13.78 kB / 2.452 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/7.947, allocations: 456.1 kB / 2.453 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009292/7.956, allocations: 2.291 MB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/7.956, allocations: 34.5 kB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/7.956, allocations: 75.28 kB / 2.455 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002366/7.959, allocations: 0.7793 MB / 2.456 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/7.961, allocations: 1.096 MB / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/7.961, allocations: 0 / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/7.962, allocations: 3.969 kB / 2.457 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/7.962, allocations: 30.92 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.01245/7.974, allocations: 6.683 MB / 2.463 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/7.976, allocations: 1.146 MB / 2.465 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007189/7.977, allocations: 305.8 kB / 2.465 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006605/7.983, allocations: 2.869 MB / 2.468 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/7.984, allocations: 331.9 kB / 2.468 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009675/7.985, allocations: 88.31 kB / 2.468 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.829e-06/7.985, allocations: 0 / 2.468 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.01204/7.997, allocations: 1.473 MB / 2.47 GB, free: 109 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/7.997, allocations: 167.5 kB / 2.47 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/8, allocations: 1.243 MB / 2.471 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002456/8, allocations: 32.36 kB / 2.471 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/8.001, allocations: 0.878 MB / 2.472 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/8.001, allocations: 199.7 kB / 2.472 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/8.002, allocations: 0 / 2.472 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/8.002, allocations: 344.3 kB / 2.472 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/8.002, allocations: 263.1 kB / 2.473 GB, free: 107 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/8.003, allocations: 0.687 MB / 2.473 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/8.014, allocations: 1.189 MB / 2.474 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/8.014, allocations: 7 kB / 2.474 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01267/8.027, allocations: 1.823 MB / 2.476 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009563/8.028, allocations: 4.536 MB / 2.481 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-05/8.028, allocations: 15.16 kB / 2.481 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-05/8.028, allocations: 15.44 kB / 2.481 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/8.03, allocations: 253.7 kB / 2.481 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.39e-05/8.03, allocations: 25.12 kB / 2.481 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/8.032, allocations: 98.36 kB / 2.481 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/8.032, allocations: 56.56 kB / 2.481 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/8.032, allocations: 5.125 kB / 2.481 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.012/8.044, allocations: 1.607 MB / 2.483 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/8.044, allocations: 15.72 kB / 2.483 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/8.044, allocations: 18.38 kB / 2.483 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/8.046, allocations: 244.9 kB / 2.483 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/8.046, allocations: 27.03 kB / 2.483 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/8.048, allocations: 90.25 kB / 2.483 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/8.048, allocations: 56.86 kB / 2.483 GB, free: 100.4 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.000332/8.049, allocations: 146.4 kB / 2.483 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01165/8.06, allocations: 1.452 MB / 2.485 GB, free: 99.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002958/8.061, allocations: 165.1 kB / 2.485 GB, free: 99.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/8.073, allocations: 1.67 MB / 2.486 GB, free: 99.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/8.073, allocations: 18.45 kB / 2.486 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/8.073, allocations: 8.344 kB / 2.486 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01093/8.084, allocations: 1.524 MB / 2.488 GB, free: 99 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.01465/8.099, allocations: 2.747 MB / 2.491 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/8.099, allocations: 0 / 2.491 GB, free: 98.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/8.1, allocations: 133.6 kB / 2.491 GB, free: 98.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002208/8.1, allocations: 27.78 kB / 2.491 GB, free: 97.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/8.1, allocations: 10.2 kB / 2.491 GB, free: 97.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000996/8.101, allocations: 1.277 MB / 2.492 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/8.101, allocations: 0 / 2.492 GB, free: 96.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/8.114, allocations: 2.061 MB / 2.494 GB, free: 95.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/8.115, allocations: 325.7 kB / 2.494 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003001/8.115, allocations: 7.953 kB / 2.494 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/8.117, allocations: 77.67 kB / 2.494 GB, free: 95.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/8.117, allocations: 49.38 kB / 2.494 GB, free: 95.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/8.117, allocations: 33.23 kB / 2.494 GB, free: 95.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00189/8.119, allocations: 0.9201 MB / 2.495 GB, free: 95.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.12e-07/8.119, allocations: 0 / 2.495 GB, free: 95.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005495/8.125, allocations: 0.9954 MB / 2.496 GB, free: 95.09 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.01585/8.14, allocations: 3.874 MB / 2.5 GB, free: 93.39 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003044/8.143, allocations: 1.363 MB / 2.501 GB, free: 92.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/8.144, allocations: 8.281 kB / 2.501 GB, free: 92.76 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/8.145, allocations: 432.7 kB / 2.502 GB, free: 92.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/8.15, allocations: 0.6291 MB / 2.502 GB, free: 92.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008598/8.158, allocations: 2.743 MB / 2.505 GB, free: 91.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/8.159, allocations: 1.41 MB / 2.507 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004112/8.163, allocations: 0.5848 MB / 2.507 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/8.165, allocations: 0.6912 MB / 2.508 GB, free: 89.19 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/8.165, allocations: 0 / 2.508 GB, free: 89.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/8.3, allocations: 47.83 MB / 2.555 GB, free: 44.55 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/8.3, allocations: 180.3 kB / 2.555 GB, free: 44.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/12.87, allocations: 0 / 2.555 GB, free: 44.36 MB / 0.8855 GB