Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.308/2.308, allocations: 248.7 MB / 256.2 MB, free: 7.078 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.001504/0.001503, allocations: 186.2 kB / 315.4 MB, free: 3.996 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.015/2.015, allocations: 205.3 MB / 0.5662 GB, free: 0.5586 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.001124/0.001123, allocations: 97.97 kB / 0.6704 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.078e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2113, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.992/8.203, allocations: 2.471 GB / 3.355 GB, free: 208 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/8.204, allocations: 87.64 kB / 3.355 GB, free: 208 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.974/13.18, allocations: 0.879 GB / 4.234 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.863e-06/13.18, allocations: 1.062 kB / 4.234 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000223/13.18, allocations: 35.2 kB / 4.234 GB, free: 132.5 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.008625/13.19, allocations: 1.923 MB / 4.236 GB, free: 132 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/13.19, allocations: 9.375 kB / 4.236 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/13.19, allocations: 0.5223 MB / 4.237 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004917/13.2, allocations: 1.205 MB / 4.238 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/13.2, allocations: 173.3 kB / 4.238 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/13.2, allocations: 60.77 kB / 4.238 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003264/13.2, allocations: 0.9476 MB / 4.239 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/13.21, allocations: 1.022 MB / 4.24 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/13.21, allocations: 2.25 kB / 4.24 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/13.21, allocations: 2.812 kB / 4.24 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.208e-05/13.21, allocations: 40.31 kB / 4.24 GB, free: 131.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.01652/13.22, allocations: 4.891 MB / 4.245 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/13.22, allocations: 0.8201 MB / 4.246 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/13.23, allocations: 450.9 kB / 4.246 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/13.23, allocations: 0.8432 MB / 4.247 GB, free: 128.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/13.23, allocations: 0.6168 MB / 4.247 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 4.348e-06/13.23, allocations: 0 / 4.247 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.005174/13.23, allocations: 1.122 MB / 4.249 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/13.23, allocations: 150.4 kB / 4.249 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/13.24, allocations: 0.7432 MB / 4.249 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/13.24, allocations: 29.16 kB / 4.249 GB, free: 128 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/13.24, allocations: 0.5266 MB / 4.25 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/13.24, allocations: 270.1 kB / 4.25 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/13.24, allocations: 4.688 kB / 4.25 GB, free: 127.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001086/13.24, allocations: 343 kB / 4.251 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/13.24, allocations: 387.1 kB / 4.251 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/13.24, allocations: 0.586 MB / 4.251 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/13.24, allocations: 0.5422 MB / 4.252 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/13.24, allocations: 1.344 kB / 4.252 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005359/13.25, allocations: 1.28 MB / 4.253 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003175/13.25, allocations: 1.205 MB / 4.254 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/13.25, allocations: 3.281 kB / 4.254 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.389e-05/13.25, allocations: 11.36 kB / 4.254 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/13.25, allocations: 272 kB / 4.255 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/13.25, allocations: 10.06 kB / 4.255 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/13.26, allocations: 183.7 kB / 4.255 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/13.26, allocations: 52.3 kB / 4.255 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/13.26, allocations: 3.562 kB / 4.255 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004935/13.26, allocations: 1.18 MB / 4.256 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/13.26, allocations: 5 kB / 4.256 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/13.26, allocations: 11.02 kB / 4.256 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/13.26, allocations: 267.8 kB / 4.256 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/13.26, allocations: 11.36 kB / 4.256 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00295/13.27, allocations: 166.5 kB / 4.257 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/13.27, allocations: 55.05 kB / 4.257 GB, free: 125.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0005116/13.27, allocations: 195.4 kB / 4.257 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004725/13.27, allocations: 1.13 MB / 4.258 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/13.27, allocations: 118.9 kB / 4.258 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/13.28, allocations: 1.276 MB / 4.259 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/13.28, allocations: 9.125 kB / 4.259 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/13.28, allocations: 0.75 kB / 4.259 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/13.28, allocations: 8.234 kB / 4.259 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/13.29, allocations: 2.712 MB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/13.29, allocations: 7.531 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/13.29, allocations: 210 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/13.29, allocations: 6.781 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/13.29, allocations: 26.94 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/13.29, allocations: 6.719 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/13.29, allocations: 11.23 kB / 4.262 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/13.3, allocations: 2.121 MB / 4.264 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/13.3, allocations: 343.4 kB / 4.265 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/13.3, allocations: 13.33 kB / 4.265 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002787/13.3, allocations: 128.2 kB / 4.265 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/13.3, allocations: 60.75 kB / 4.265 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/13.3, allocations: 51.41 kB / 4.265 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001337/13.3, allocations: 0.5564 MB / 4.265 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.31e-07/13.3, allocations: 0 / 4.265 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005412/13.31, allocations: 0.9438 MB / 4.266 GB, free: 124 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.01222/13.32, allocations: 5.828 MB / 4.272 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004713/13.33, allocations: 1.853 MB / 4.274 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/13.33, allocations: 2.906 kB / 4.274 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/13.33, allocations: 0.644 MB / 4.274 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/13.33, allocations: 430.5 kB / 4.275 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/13.34, allocations: 2.052 MB / 4.277 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/13.34, allocations: 1.178 MB / 4.278 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003897/13.35, allocations: 408.3 kB / 4.278 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/13.35, allocations: 474.4 kB / 4.279 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/13.35, allocations: 3.938 kB / 4.279 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/13.5, allocations: 46.98 MB / 4.325 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/13.5, allocations: 188.9 kB / 4.325 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.929/18.42, allocations: 0 / 4.325 GB, free: 118.6 MB / 0.8855 GB