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.303/2.303, 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.00148/0.00148, allocations: 182 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, allocations: 205.1 MB / 0.571 GB, free: 11.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.001152/0.001151, allocations: 96.66 kB / 0.6754 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.844e-05, allocations: 8 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.878/8.087, allocations: 2.471 GB / 3.362 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/8.088, allocations: 82.77 kB / 3.362 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.874/12.96, allocations: 0.8878 GB / 4.249 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.176e-06/12.96, allocations: 0 / 4.249 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002308/12.96, allocations: 39.83 kB / 4.249 GB, free: 130.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.00807/12.97, allocations: 1.914 MB / 4.251 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/12.97, allocations: 8.906 kB / 4.251 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004217/12.97, allocations: 144.3 kB / 4.251 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/12.98, allocations: 0.5184 MB / 4.252 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/12.98, allocations: 1.203 MB / 4.253 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001351/12.98, allocations: 210 kB / 4.253 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004852/12.98, allocations: 105.4 kB / 4.253 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/12.99, allocations: 1.141 MB / 4.255 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/12.99, allocations: 3.469 kB / 4.255 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/12.99, allocations: 39.25 kB / 4.255 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/12.99, allocations: 44.98 kB / 4.255 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/12.99, allocations: 1.047 MB / 4.256 GB, free: 129.3 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.01413/13, allocations: 5.019 MB / 4.261 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/13.01, allocations: 0.7751 MB / 4.261 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/13.01, allocations: 477.2 kB / 4.262 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/13.01, allocations: 0.8415 MB / 4.263 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/13.01, allocations: 0.5821 MB / 4.263 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.597e-06/13.01, allocations: 0 / 4.263 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.003264/13.01, allocations: 1.088 MB / 4.264 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/13.01, allocations: 118.3 kB / 4.264 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/13.01, allocations: 0.8956 MB / 4.265 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/13.01, allocations: 43.55 kB / 4.265 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/13.02, allocations: 0.5265 MB / 4.266 GB, free: 125.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003493/13.02, allocations: 275.1 kB / 4.266 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/13.02, allocations: 18.16 kB / 4.266 GB, free: 125.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/13.02, allocations: 347.2 kB / 4.266 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/13.02, allocations: 396.1 kB / 4.267 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/13.02, allocations: 0.6014 MB / 4.267 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/13.02, allocations: 491.7 kB / 4.268 GB, free: 125 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.425e-06/13.02, allocations: 3.906 kB / 4.268 GB, free: 125 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003372/13.02, allocations: 1.274 MB / 4.269 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002733/13.02, allocations: 1.119 MB / 4.27 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/13.02, allocations: 5.625 kB / 4.27 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/13.02, allocations: 7.062 kB / 4.27 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/13.03, allocations: 265.2 kB / 4.27 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/13.03, allocations: 10.16 kB / 4.27 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/13.03, allocations: 212 kB / 4.271 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/13.03, allocations: 55.3 kB / 4.271 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/13.03, allocations: 4.531 kB / 4.271 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003024/13.03, allocations: 1.184 MB / 4.272 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/13.03, allocations: 7.781 kB / 4.272 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/13.03, allocations: 7.188 kB / 4.272 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/13.03, allocations: 265.9 kB / 4.272 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/13.03, allocations: 7.5 kB / 4.272 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/13.04, allocations: 203.8 kB / 4.272 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/13.04, allocations: 55.03 kB / 4.272 GB, free: 123.5 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 () * 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.0004309/13.04, allocations: 226.5 kB / 4.273 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/13.04, allocations: 131 kB / 4.273 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/13.04, allocations: 1.295 MB / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/13.04, allocations: 7.781 kB / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/13.04, allocations: 0 / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/13.04, allocations: 7.797 kB / 4.274 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/13.05, allocations: 2.762 MB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/13.05, allocations: 3.625 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/13.05, allocations: 210.3 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/13.05, allocations: 3.938 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/13.05, allocations: 38.25 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/13.05, allocations: 5.875 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/13.05, allocations: 8.422 kB / 4.277 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/13.06, allocations: 2.127 MB / 4.279 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/13.06, allocations: 351.7 kB / 4.279 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/13.06, allocations: 28.08 kB / 4.279 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/13.06, allocations: 140.3 kB / 4.279 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/13.06, allocations: 70.25 kB / 4.28 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/13.06, allocations: 49.19 kB / 4.28 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001451/13.06, allocations: 0.6865 MB / 4.28 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.924e-06/13.06, allocations: 0 / 4.28 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004571/13.07, allocations: 1.008 MB / 4.281 GB, free: 121.7 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.009406/13.08, allocations: 5.627 MB / 4.287 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004426/13.08, allocations: 1.904 MB / 4.289 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/13.08, allocations: 6.906 kB / 4.289 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/13.08, allocations: 0.6582 MB / 4.289 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004689/13.09, allocations: 0.5049 MB / 4.29 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/13.09, allocations: 2.137 MB / 4.292 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007563/13.1, allocations: 1.183 MB / 4.293 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003448/13.1, allocations: 430.8 kB / 4.293 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/13.1, allocations: 480.2 kB / 4.294 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.312e-06/13.1, allocations: 0 / 4.294 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1849/13.28, allocations: 69.07 MB / 4.361 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/13.29, allocations: 216.6 kB / 4.362 GB, free: 115 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.986/19.27, allocations: 0 / 4.362 GB, free: 115 MB / 0.8855 GB