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.142/2.142, allocations: 251 MB / 265.9 MB, free: 11.69 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.00159/0.00159, allocations: 176.8 kB / 325.5 MB, free: 2.902 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.301/2.301, allocations: 205.4 MB / 0.5764 GB, free: 20.85 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.001169/0.001169, allocations: 102.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004963, allocations: 12.75 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2293, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.35/7.58, allocations: 2.475 GB / 3.374 GB, free: 43.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/7.58, allocations: 91.73 kB / 3.374 GB, free: 43.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.065/12.64, allocations: 0.9206 GB / 4.294 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.986e-06/12.64, allocations: 4 kB / 4.294 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002833/12.64, allocations: 47.3 kB / 4.295 GB, free: 128.8 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.01044/12.66, allocations: 2.398 MB / 4.297 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/12.66, allocations: 10.91 kB / 4.297 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006985/12.66, allocations: 160.1 kB / 4.297 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005032/12.66, allocations: 0.5453 MB / 4.298 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00511/12.67, allocations: 1.422 MB / 4.299 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/12.67, allocations: 220 kB / 4.299 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004438/12.67, allocations: 116.2 kB / 4.299 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/12.67, allocations: 1.395 MB / 4.301 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/12.67, allocations: 3.938 kB / 4.301 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/12.67, allocations: 40.78 kB / 4.301 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/12.67, allocations: 46.84 kB / 4.301 GB, free: 126.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/12.68, allocations: 1.382 MB / 4.302 GB, free: 126.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.01434/12.69, allocations: 5.449 MB / 4.307 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/12.7, allocations: 1.108 MB / 4.308 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/12.7, allocations: 0.7531 MB / 4.309 GB, free: 123 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/12.7, allocations: 0.6388 MB / 4.31 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.927e-06/12.7, allocations: 0 / 4.31 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.00764/12.71, allocations: 1.694 MB / 4.311 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.714e-05/12.71, allocations: 196.6 kB / 4.312 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/12.71, allocations: 1.169 MB / 4.313 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003612/12.71, allocations: 49.7 kB / 4.313 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006962/12.71, allocations: 0.6513 MB / 4.313 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/12.71, allocations: 276 kB / 4.314 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/12.71, allocations: 20 kB / 4.314 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/12.71, allocations: 353.9 kB / 4.314 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/12.72, allocations: 0.5374 MB / 4.315 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/12.72, allocations: 0.8714 MB / 4.315 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/12.72, allocations: 0.6378 MB / 4.316 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/12.72, allocations: 112 / 4.316 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.006175/12.73, allocations: 1.571 MB / 4.318 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000401/12.73, allocations: 1.915 MB / 4.32 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/12.73, allocations: 4 kB / 4.32 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/12.73, allocations: 12 kB / 4.32 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/12.73, allocations: 339.5 kB / 4.32 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/12.73, allocations: 1.195 MB / 4.321 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/12.74, allocations: 254.7 kB / 4.321 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/12.74, allocations: 55.97 kB / 4.321 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/12.74, allocations: 4 kB / 4.321 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005502/12.74, allocations: 1.403 MB / 4.323 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/12.74, allocations: 8.188 kB / 4.323 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/12.74, allocations: 12 kB / 4.323 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/12.74, allocations: 323.5 kB / 4.323 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/12.74, allocations: 19.89 kB / 4.323 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/12.75, allocations: 226.8 kB / 4.323 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/12.75, allocations: 59.97 kB / 4.323 GB, free: 108.2 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 () * Number of clocked 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.001163/12.75, allocations: 420 kB / 4.324 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/12.75, allocations: 158 kB / 4.324 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/12.75, allocations: 1.404 MB / 4.325 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/12.75, allocations: 12 kB / 4.325 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/12.75, allocations: 3.953 kB / 4.325 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/12.75, allocations: 10.5 kB / 4.325 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009042/12.76, allocations: 2.901 MB / 4.328 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/12.76, allocations: 4 kB / 4.328 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/12.77, allocations: 248.1 kB / 4.328 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/12.77, allocations: 8 kB / 4.328 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/12.77, allocations: 27.98 kB / 4.328 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005644/12.77, allocations: 1.199 MB / 4.33 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/12.77, allocations: 4 kB / 4.33 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00823/12.78, allocations: 2.38 MB / 4.332 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/12.78, allocations: 366.8 kB / 4.332 GB, free: 98.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004764/12.78, allocations: 23.98 kB / 4.332 GB, free: 98.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002597/12.78, allocations: 143.8 kB / 4.332 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/12.78, allocations: 80.45 kB / 4.332 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/12.78, allocations: 35.97 kB / 4.332 GB, free: 98.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001955/12.78, allocations: 0.8988 MB / 4.333 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.21e-07/12.78, allocations: 0 / 4.333 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004477/12.79, allocations: 1.038 MB / 4.334 GB, free: 96.55 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) * Number of clocked states: 0 () * 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.01226/12.8, allocations: 5.878 MB / 4.34 GB, free: 90.56 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009567/12.81, allocations: 2.236 MB / 4.342 GB, free: 88.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/12.81, allocations: 4 kB / 4.342 GB, free: 88.28 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002904/12.81, allocations: 0.6688 MB / 4.343 GB, free: 87.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006203/12.82, allocations: 0.6962 MB / 4.344 GB, free: 86.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/12.83, allocations: 7.176 MB / 4.351 GB, free: 79.58 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008078/12.83, allocations: 1.274 MB / 4.352 GB, free: 78.28 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003148/12.83, allocations: 418.1 kB / 4.352 GB, free: 77.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/12.83, allocations: 0.5852 MB / 4.353 GB, free: 77.29 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/12.83, allocations: 0 / 4.353 GB, free: 77.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1461/12.98, allocations: 68.56 MB / 4.42 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/12.98, allocations: 278.7 kB / 4.42 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.605/18.59, allocations: 4 kB / 4.42 GB, free: 9.055 MB / 0.8855 GB