Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.937/1.937, allocations: 292.6 MB / 307.5 MB, free: 5.152 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.002133/0.002133, allocations: 189 kB / 377.1 MB, free: 1.512 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.934/1.934, allocations: 205.4 MB / 0.6367 GB, free: 8.605 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.000934/0.0009341, allocations: 85.34 kB / 0.751 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003542, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3002, allocations: 116.3 MB / 0.9884 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.371/6.671, allocations: 2.355 GB / 3.343 GB, free: 229.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/6.672, allocations: 97 kB / 3.344 GB, free: 229.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.894/9.566, allocations: 0.9163 GB / 4.26 GB, free: 12.39 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.544e-06/9.566, allocations: 0 / 4.26 GB, free: 12.39 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001243/9.566, allocations: 35.98 kB / 4.26 GB, free: 12.36 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.006106/9.572, allocations: 2.135 MB / 4.262 GB, free: 10.15 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/9.572, allocations: 8.031 kB / 4.262 GB, free: 10.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/9.576, allocations: 0.5221 MB / 4.262 GB, free: 9.621 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003089/9.579, allocations: 1.222 MB / 4.264 GB, free: 8.348 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005939/9.579, allocations: 205.9 kB / 4.264 GB, free: 8.145 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/9.579, allocations: 103.9 kB / 4.264 GB, free: 8.043 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/9.582, allocations: 1.282 MB / 4.265 GB, free: 6.738 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/9.582, allocations: 0 / 4.265 GB, free: 6.738 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/9.582, allocations: 40 kB / 4.265 GB, free: 6.699 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/9.582, allocations: 41.42 kB / 4.265 GB, free: 6.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/9.585, allocations: 1.316 MB / 4.267 GB, free: 5.344 MB / 0.948 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.008239/9.593, allocations: 5.016 MB / 4.271 GB, free: 12 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/9.596, allocations: 1.072 MB / 4.273 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/9.597, allocations: 0.8382 MB / 4.273 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/9.599, allocations: 0.7155 MB / 4.274 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 3.336e-06/9.599, allocations: 0 / 4.274 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.004938/9.604, allocations: 1.995 MB / 4.276 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/9.604, allocations: 115.5 kB / 4.276 GB, free: 11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/9.605, allocations: 0.9071 MB / 4.277 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/9.605, allocations: 45.7 kB / 4.277 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/9.606, allocations: 0.5281 MB / 4.278 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/9.606, allocations: 276 kB / 4.278 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/9.606, allocations: 16 kB / 4.278 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001615/9.607, allocations: 341.9 kB / 4.278 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/9.608, allocations: 0.5211 MB / 4.279 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/9.609, allocations: 0.7542 MB / 4.279 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/9.611, allocations: 0.6153 MB / 4.28 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/9.611, allocations: 0 / 4.28 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003747/9.615, allocations: 1.55 MB / 4.282 GB, free: 5.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005427/9.615, allocations: 1.118 MB / 4.283 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/9.615, allocations: 4 kB / 4.283 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/9.615, allocations: 8 kB / 4.283 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/9.617, allocations: 267.6 kB / 4.283 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/9.617, allocations: 11.94 kB / 4.283 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/9.619, allocations: 222.8 kB / 4.283 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/9.619, allocations: 51.97 kB / 4.283 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/9.619, allocations: 4 kB / 4.283 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003368/9.622, allocations: 1.456 MB / 4.285 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/9.622, allocations: 4 kB / 4.285 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/9.622, allocations: 4 kB / 4.285 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/9.623, allocations: 263.7 kB / 4.285 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/9.623, allocations: 15.94 kB / 4.285 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/9.625, allocations: 203 kB / 4.285 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/9.625, allocations: 51.97 kB / 4.285 GB, free: 1.559 MB / 0.9636 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.001063/9.626, allocations: 460.2 kB / 4.286 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/9.627, allocations: 126.5 kB / 4.286 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6134/10.24, allocations: 1.555 MB / 4.287 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/10.24, allocations: 9.938 kB / 4.287 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/10.24, allocations: 3.641 kB / 4.287 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/10.24, allocations: 3.188 kB / 4.287 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/10.25, allocations: 3.014 MB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/10.25, allocations: 3.156 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009942/10.25, allocations: 203.2 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/10.25, allocations: 9.094 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/10.25, allocations: 36.06 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/10.25, allocations: 11.06 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/10.25, allocations: 2.688 kB / 4.29 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004777/10.25, allocations: 2.519 MB / 4.293 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009312/10.25, allocations: 355.9 kB / 4.293 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/10.25, allocations: 31.7 kB / 4.293 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/10.25, allocations: 145 kB / 4.293 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/10.25, allocations: 58.75 kB / 4.293 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/10.26, allocations: 51.7 kB / 4.293 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0011/10.26, allocations: 0.6994 MB / 4.294 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.11e-07/10.26, allocations: 2.906 kB / 4.294 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003336/10.26, allocations: 1.001 MB / 4.295 GB, free: 118.7 MB / 0.9636 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.004239/10.26, allocations: 2.234 MB / 4.297 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005511/10.27, allocations: 2.271 MB / 4.3 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/10.27, allocations: 0.9688 kB / 4.3 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/10.27, allocations: 0.7818 MB / 4.3 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/10.27, allocations: 0.5027 MB / 4.301 GB, free: 117.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/10.28, allocations: 2.809 MB / 4.304 GB, free: 116.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/10.28, allocations: 1.182 MB / 4.305 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002014/10.28, allocations: 358.5 kB / 4.305 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/10.28, allocations: 101.6 kB / 4.305 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/10.28, allocations: 1.5 kB / 4.305 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.07171/10.35, allocations: 45.49 MB / 4.35 GB, free: 115.1 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)