Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.167/2.167, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001509/0.001508, allocations: 182.9 kB / 320.4 MB, free: 15.33 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.984/1.984, 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.00115/0.00115, allocations: 100.8 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.911e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.019/8.221, allocations: 2.475 GB / 3.366 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/8.221, allocations: 90.69 kB / 3.366 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.953/13.17, allocations: 0.919 GB / 4.285 GB, free: 123 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/13.17, allocations: 0 / 4.285 GB, free: 123 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002664/13.17, allocations: 51.78 kB / 4.285 GB, free: 122.9 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.009156/13.18, allocations: 2.107 MB / 4.287 GB, free: 122 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/13.18, allocations: 11.06 kB / 4.287 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004353/13.18, allocations: 152.7 kB / 4.287 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/13.19, allocations: 0.5472 MB / 4.287 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/13.19, allocations: 1.389 MB / 4.289 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001234/13.2, allocations: 228.4 kB / 4.289 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/13.2, allocations: 120.4 kB / 4.289 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/13.2, allocations: 1.221 MB / 4.29 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/13.2, allocations: 0 / 4.29 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/13.2, allocations: 50.34 kB / 4.29 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/13.2, allocations: 42.31 kB / 4.29 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/13.2, allocations: 1.068 MB / 4.291 GB, free: 121.4 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.01498/13.22, allocations: 5.45 MB / 4.297 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/13.22, allocations: 0.7516 MB / 4.297 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/13.22, allocations: 416.7 kB / 4.298 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/13.22, allocations: 0.7574 MB / 4.299 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001384/13.22, allocations: 497.3 kB / 4.299 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 4.489e-06/13.22, allocations: 0 / 4.299 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.003202/13.23, allocations: 0.9253 MB / 4.3 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/13.23, allocations: 191.6 kB / 4.3 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/13.23, allocations: 1.156 MB / 4.301 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004308/13.23, allocations: 48.64 kB / 4.301 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008179/13.23, allocations: 0.6448 MB / 4.302 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/13.23, allocations: 283.5 kB / 4.302 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/13.23, allocations: 19 kB / 4.302 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001076/13.23, allocations: 357.5 kB / 4.303 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/13.23, allocations: 396.9 kB / 4.303 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/13.23, allocations: 0.7048 MB / 4.304 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/13.24, allocations: 490.3 kB / 4.304 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/13.24, allocations: 3.344 kB / 4.304 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003638/13.24, allocations: 1.251 MB / 4.305 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004352/13.24, allocations: 1.907 MB / 4.307 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/13.24, allocations: 6.344 kB / 4.307 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/13.24, allocations: 10.16 kB / 4.307 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/13.24, allocations: 337.7 kB / 4.308 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007751/13.24, allocations: 1.2 MB / 4.309 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/13.25, allocations: 252.7 kB / 4.309 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/13.25, allocations: 58.7 kB / 4.309 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/13.25, allocations: 8.719 kB / 4.309 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003005/13.25, allocations: 1.094 MB / 4.31 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/13.25, allocations: 11.42 kB / 4.31 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/13.25, allocations: 11.34 kB / 4.31 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/13.25, allocations: 314.3 kB / 4.31 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.075e-05/13.25, allocations: 15.14 kB / 4.31 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/13.26, allocations: 227.1 kB / 4.311 GB, free: 113.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/13.26, allocations: 59.77 kB / 4.311 GB, free: 113.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004545/13.26, allocations: 173.7 kB / 4.311 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005296/13.26, allocations: 158.2 kB / 4.311 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/13.26, allocations: 1.088 MB / 4.312 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/13.26, allocations: 10.03 kB / 4.312 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/13.26, allocations: 0 / 4.312 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/13.26, allocations: 6.703 kB / 4.312 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/13.27, allocations: 2.607 MB / 4.315 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/13.27, allocations: 7.766 kB / 4.315 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/13.27, allocations: 247.2 kB / 4.315 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/13.27, allocations: 10.81 kB / 4.315 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/13.27, allocations: 25.69 kB / 4.315 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005254/13.27, allocations: 1.19 MB / 4.316 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/13.27, allocations: 7.344 kB / 4.316 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004049/13.28, allocations: 1.904 MB / 4.318 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/13.28, allocations: 374.3 kB / 4.318 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/13.28, allocations: 28.55 kB / 4.318 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002448/13.28, allocations: 144.5 kB / 4.318 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/13.28, allocations: 73.61 kB / 4.319 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/13.28, allocations: 40.45 kB / 4.319 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001765/13.28, allocations: 0.8792 MB / 4.319 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.71e-07/13.28, allocations: 0 / 4.319 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00445/13.29, allocations: 1.042 MB / 4.32 GB, free: 110.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008771/13.29, allocations: 5.404 MB / 4.326 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005079/13.3, allocations: 1.805 MB / 4.327 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/13.3, allocations: 4.531 kB / 4.327 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/13.3, allocations: 0.5137 MB / 4.328 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/13.31, allocations: 0.6913 MB / 4.329 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008088/13.32, allocations: 2.443 MB / 4.331 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/13.32, allocations: 1.267 MB / 4.332 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003931/13.32, allocations: 0.5028 MB / 4.333 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/13.32, allocations: 0.5662 MB / 4.333 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/13.32, allocations: 0 / 4.333 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/13.48, allocations: 75.69 MB / 4.407 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/13.48, allocations: 237.9 kB / 4.407 GB, free: 102 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.584/20.07, allocations: 0 / 4.407 GB, free: 102 MB / 0.8855 GB