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.1/2.1, 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.001548/0.001548, allocations: 177.2 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.335/2.335, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001228/0.001228, allocations: 86.38 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 13.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.644/7.868, allocations: 2.471 GB / 3.37 GB, free: 51.87 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/7.868, allocations: 97.27 kB / 3.37 GB, free: 51.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.803/12.67, allocations: 0.8893 GB / 4.259 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/12.67, allocations: 0 / 4.259 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002729/12.67, allocations: 36.31 kB / 4.259 GB, free: 139.7 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.009147/12.68, allocations: 2.145 MB / 4.261 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/12.68, allocations: 12.92 kB / 4.261 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006077/12.68, allocations: 145.4 kB / 4.261 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/12.69, allocations: 0.5196 MB / 4.262 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004658/12.69, allocations: 1.214 MB / 4.263 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/12.69, allocations: 215 kB / 4.263 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/12.69, allocations: 98.69 kB / 4.263 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/12.7, allocations: 1.283 MB / 4.265 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/12.7, allocations: 0 / 4.265 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/12.7, allocations: 37.44 kB / 4.265 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/12.7, allocations: 46.22 kB / 4.265 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005741/12.7, allocations: 1.313 MB / 4.266 GB, free: 138 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.01627/12.72, allocations: 5.027 MB / 4.271 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/12.73, allocations: 1.063 MB / 4.272 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/12.73, allocations: 0.8388 MB / 4.273 GB, free: 135 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002802/12.73, allocations: 0.7117 MB / 4.273 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 4.859e-06/12.73, allocations: 0 / 4.273 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.008787/12.74, allocations: 1.999 MB / 4.275 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/12.74, allocations: 120 kB / 4.275 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/12.74, allocations: 0.9055 MB / 4.276 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/12.74, allocations: 45.05 kB / 4.276 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/12.74, allocations: 0.5212 MB / 4.277 GB, free: 134 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004248/12.74, allocations: 275.6 kB / 4.277 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/12.74, allocations: 19.88 kB / 4.277 GB, free: 133.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001012/12.74, allocations: 346.6 kB / 4.278 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/12.75, allocations: 0.5229 MB / 4.278 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/12.75, allocations: 0.7352 MB / 4.279 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/12.75, allocations: 0.6185 MB / 4.279 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/12.75, allocations: 0 / 4.279 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006741/12.76, allocations: 1.542 MB / 4.281 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003031/12.76, allocations: 1.12 MB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/12.76, allocations: 2.156 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/12.76, allocations: 13.78 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/12.76, allocations: 262.8 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/12.76, allocations: 6.188 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/12.76, allocations: 221.1 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/12.76, allocations: 61.27 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/12.76, allocations: 7.828 kB / 4.282 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006227/12.77, allocations: 1.457 MB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/12.77, allocations: 3.062 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/12.77, allocations: 6.469 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/12.77, allocations: 267.3 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/12.77, allocations: 6.188 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/12.78, allocations: 200.7 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/12.78, allocations: 47.48 kB / 4.284 GB, free: 131.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Number of clocked 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.001144/12.78, allocations: 462.7 kB / 4.285 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/12.78, allocations: 137 kB / 4.285 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/12.79, allocations: 1.561 MB / 4.287 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/12.79, allocations: 8.125 kB / 4.287 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/12.79, allocations: 2.625 kB / 4.287 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/12.79, allocations: 8 kB / 4.287 GB, free: 131.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/12.79, allocations: 3.015 MB / 4.289 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/12.8, allocations: 3.75 kB / 4.289 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/12.8, allocations: 199.3 kB / 4.29 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/12.8, allocations: 6.625 kB / 4.29 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/12.8, allocations: 39.67 kB / 4.29 GB, free: 130.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/12.8, allocations: 10.88 kB / 4.29 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/12.8, allocations: 3.906 kB / 4.29 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/12.81, allocations: 2.515 MB / 4.292 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/12.81, allocations: 362.1 kB / 4.293 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004343/12.81, allocations: 24.56 kB / 4.293 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/12.81, allocations: 140 kB / 4.293 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/12.81, allocations: 64.61 kB / 4.293 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/12.81, allocations: 51.52 kB / 4.293 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001584/12.81, allocations: 0.7065 MB / 4.293 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.61e-07/12.81, allocations: 0 / 4.293 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004488/12.82, allocations: 0.9949 MB / 4.294 GB, free: 129.6 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) * Number of clocked states: 0 () * 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.01355/12.83, allocations: 6.009 MB / 4.3 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008577/12.84, allocations: 2.271 MB / 4.303 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/12.84, allocations: 0 / 4.303 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002745/12.84, allocations: 0.7846 MB / 4.303 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/12.85, allocations: 0.5048 MB / 4.304 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/12.86, allocations: 5.217 MB / 4.309 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/12.86, allocations: 1.186 MB / 4.31 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002965/12.86, allocations: 360.8 kB / 4.31 GB, free: 122 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/12.86, allocations: 491.8 kB / 4.311 GB, free: 122 MB / 0.8855 GB Notification: Performance of SimCode: time 2.004e-06/12.86, allocations: 0 / 4.311 GB, free: 122 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/13, allocations: 62.2 MB / 4.372 GB, free: 64.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/13, allocations: 247.3 kB / 4.372 GB, free: 63.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.445/18.45, allocations: 4 kB / 4.372 GB, free: 63.98 MB / 0.8855 GB