Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.588/1.588, allocations: 285.6 MB / 293.1 MB, free: 10.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001229, allocations: 180.9 kB / 361.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.2 MB / 0.62 GB, free: 11.6 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009412/0.0009414, allocations: 102.4 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.123e-05, allocations: 4 kB / 0.8517 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7251, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.993/6.718, allocations: 2.353 GB / 3.318 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/6.718, allocations: 86.86 kB / 3.318 GB, free: 122.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.561/10.28, allocations: 0.9059 GB / 4.224 GB, free: 143.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.604e-06/10.28, allocations: 0 / 4.224 GB, free: 143.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001489/10.28, allocations: 44.75 kB / 4.224 GB, free: 143.2 MB / 0.948 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.006484/10.29, allocations: 1.902 MB / 4.226 GB, free: 142.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/10.29, allocations: 8.469 kB / 4.226 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/10.29, allocations: 0.526 MB / 4.226 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/10.29, allocations: 1.205 MB / 4.227 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006568/10.29, allocations: 171.5 kB / 4.228 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/10.29, allocations: 64.94 kB / 4.228 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002061/10.3, allocations: 0.9495 MB / 4.229 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/10.3, allocations: 1.021 MB / 4.23 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/10.3, allocations: 9.562 kB / 4.23 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/10.3, allocations: 0 / 4.23 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/10.3, allocations: 44.12 kB / 4.23 GB, free: 142.1 MB / 0.948 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.01183/10.31, allocations: 4.89 MB / 4.234 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/10.31, allocations: 0.8186 MB / 4.235 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008398/10.31, allocations: 451.3 kB / 4.236 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/10.31, allocations: 0.8432 MB / 4.236 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/10.31, allocations: 0.6158 MB / 4.237 GB, free: 139.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.837e-06/10.31, allocations: 0 / 4.237 GB, free: 139.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.003725/10.32, allocations: 1.123 MB / 4.238 GB, free: 139 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/10.32, allocations: 146.3 kB / 4.238 GB, free: 138.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/10.32, allocations: 0.7369 MB / 4.239 GB, free: 138.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/10.32, allocations: 28.77 kB / 4.239 GB, free: 138.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/10.32, allocations: 0.5368 MB / 4.24 GB, free: 138.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/10.32, allocations: 264.9 kB / 4.24 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/10.32, allocations: 2.094 kB / 4.24 GB, free: 138.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/10.32, allocations: 345.1 kB / 4.24 GB, free: 138.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/10.32, allocations: 384.5 kB / 4.24 GB, free: 138.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007972/10.32, allocations: 0.5943 MB / 4.241 GB, free: 137.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/10.32, allocations: 0.5471 MB / 4.242 GB, free: 137.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/10.32, allocations: 0.9375 kB / 4.242 GB, free: 137.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003196/10.33, allocations: 1.287 MB / 4.243 GB, free: 137.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004486/10.33, allocations: 1.206 MB / 4.244 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/10.33, allocations: 3.625 kB / 4.244 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/10.33, allocations: 6.469 kB / 4.244 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/10.33, allocations: 274.8 kB / 4.244 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/10.33, allocations: 6.844 kB / 4.244 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/10.33, allocations: 187.4 kB / 4.244 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/10.33, allocations: 56.03 kB / 4.245 GB, free: 136.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/10.33, allocations: 5.062 kB / 4.245 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002618/10.33, allocations: 1.177 MB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/10.33, allocations: 2.531 kB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/10.33, allocations: 11.2 kB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/10.34, allocations: 270 kB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/10.34, allocations: 9.578 kB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/10.34, allocations: 172.9 kB / 4.246 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/10.34, allocations: 51.95 kB / 4.246 GB, free: 136.4 MB / 0.948 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.0003864/10.34, allocations: 202.4 kB / 4.246 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/10.34, allocations: 118.8 kB / 4.246 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/10.34, allocations: 1.277 MB / 4.248 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/10.34, allocations: 13.64 kB / 4.248 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/10.34, allocations: 4.406 kB / 4.248 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/10.34, allocations: 5.062 kB / 4.248 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/10.35, allocations: 2.703 MB / 4.25 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/10.35, allocations: 4.531 kB / 4.25 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/10.35, allocations: 208.5 kB / 4.251 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/10.35, allocations: 6.812 kB / 4.251 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/10.35, allocations: 25.84 kB / 4.251 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.612e-05/10.35, allocations: 9.938 kB / 4.251 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/10.35, allocations: 3.781 kB / 4.251 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003692/10.35, allocations: 2.125 MB / 4.253 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007198/10.35, allocations: 351.8 kB / 4.253 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/10.35, allocations: 10.81 kB / 4.253 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/10.35, allocations: 143 kB / 4.253 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/10.35, allocations: 56.8 kB / 4.253 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/10.35, allocations: 45.48 kB / 4.253 GB, free: 134.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000756/10.35, allocations: 0.5651 MB / 4.254 GB, free: 134.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/10.35, allocations: 0 / 4.254 GB, free: 134.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003113/10.36, allocations: 0.9325 MB / 4.255 GB, free: 134.7 MB / 0.948 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.003673/10.36, allocations: 2.427 MB / 4.257 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002623/10.36, allocations: 1.846 MB / 4.259 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/10.36, allocations: 0 / 4.259 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/10.36, allocations: 0.6399 MB / 4.26 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/10.37, allocations: 431.4 kB / 4.26 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/10.37, allocations: 1.727 MB / 4.262 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/10.37, allocations: 1.189 MB / 4.263 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001849/10.37, allocations: 404.3 kB / 4.263 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/10.37, allocations: 90.61 kB / 4.263 GB, free: 132.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/10.37, allocations: 0 / 4.263 GB, free: 132.4 MB / 0.948 GB Notification: Performance of Templates: time 0.04696/10.42, allocations: 33.56 MB / 4.296 GB, free: 131.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)