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.606/1.606, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001054/0.001053, allocations: 173 kB / 366.7 MB, free: 1.641 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.725/1.725, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009045/0.0009046, allocations: 92.12 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.453e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.735, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.426/6.161, allocations: 2.354 GB / 3.328 GB, free: 135.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/6.161, allocations: 91.94 kB / 3.328 GB, free: 135.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.584/9.745, allocations: 0.9059 GB / 4.234 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.763e-06/9.745, allocations: 2.906 kB / 4.234 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001276/9.745, allocations: 39.84 kB / 4.234 GB, free: 153.3 MB / 0.9636 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.005717/9.751, allocations: 1.908 MB / 4.236 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/9.751, allocations: 11.53 kB / 4.236 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/9.754, allocations: 0.52 MB / 4.236 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/9.757, allocations: 1.203 MB / 4.237 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006345/9.758, allocations: 169.5 kB / 4.237 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/9.758, allocations: 65.08 kB / 4.237 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001693/9.76, allocations: 0.9525 MB / 4.238 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/9.762, allocations: 1.019 MB / 4.239 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/9.762, allocations: 3.25 kB / 4.239 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/9.762, allocations: 1.531 kB / 4.239 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/9.762, allocations: 39.05 kB / 4.239 GB, free: 152.2 MB / 0.9636 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.01045/9.772, allocations: 4.895 MB / 4.244 GB, free: 150.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/9.774, allocations: 0.8198 MB / 4.245 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/9.775, allocations: 449.2 kB / 4.245 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/9.776, allocations: 0.8444 MB / 4.246 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/9.777, allocations: 0.6162 MB / 4.247 GB, free: 149.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 2.786e-06/9.777, allocations: 3.156 kB / 4.247 GB, free: 149.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.003497/9.78, allocations: 1.125 MB / 4.248 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/9.78, allocations: 141.9 kB / 4.248 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/9.782, allocations: 0.7406 MB / 4.249 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/9.782, allocations: 31.67 kB / 4.249 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/9.783, allocations: 0.53 MB / 4.249 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/9.783, allocations: 265.5 kB / 4.25 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/9.783, allocations: 2.312 kB / 4.25 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001367/9.783, allocations: 342 kB / 4.25 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/9.784, allocations: 392.8 kB / 4.25 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/9.785, allocations: 0.5918 MB / 4.251 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/9.787, allocations: 0.5427 MB / 4.251 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/9.787, allocations: 1.031 kB / 4.251 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002945/9.789, allocations: 1.29 MB / 4.253 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003344/9.79, allocations: 1.209 MB / 4.254 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/9.79, allocations: 5.625 kB / 4.254 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/9.79, allocations: 6.969 kB / 4.254 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/9.791, allocations: 272.4 kB / 4.254 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/9.791, allocations: 6.469 kB / 4.254 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/9.793, allocations: 187.8 kB / 4.254 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/9.793, allocations: 52.67 kB / 4.254 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/9.793, allocations: 3.781 kB / 4.254 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002761/9.796, allocations: 1.174 MB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/9.796, allocations: 3.062 kB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/9.796, allocations: 11.16 kB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/9.797, allocations: 273.2 kB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/9.797, allocations: 8.906 kB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/9.799, allocations: 165.3 kB / 4.256 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/9.799, allocations: 55.66 kB / 4.256 GB, free: 146.5 MB / 0.9636 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.0003706/9.799, allocations: 196.3 kB / 4.256 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/9.8, allocations: 125.4 kB / 4.256 GB, free: 146.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/9.803, allocations: 1.285 MB / 4.258 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/9.803, allocations: 11.97 kB / 4.258 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/9.803, allocations: 6.188 kB / 4.258 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/9.803, allocations: 4.125 kB / 4.258 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/9.808, allocations: 2.701 MB / 4.26 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/9.808, allocations: 2.781 kB / 4.26 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/9.809, allocations: 210.8 kB / 4.26 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.579e-05/9.809, allocations: 6.375 kB / 4.26 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/9.809, allocations: 30.08 kB / 4.26 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/9.809, allocations: 6.344 kB / 4.261 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/9.81, allocations: 7.188 kB / 4.261 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/9.813, allocations: 2.119 MB / 4.263 GB, free: 145.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/9.814, allocations: 352 kB / 4.263 GB, free: 145 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/9.814, allocations: 12.53 kB / 4.263 GB, free: 145 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/9.816, allocations: 130 kB / 4.263 GB, free: 145 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/9.816, allocations: 68.16 kB / 4.263 GB, free: 145 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/9.816, allocations: 47.59 kB / 4.263 GB, free: 145 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0009257/9.817, allocations: 0.5603 MB / 4.264 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.61e-07/9.817, allocations: 0 / 4.264 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003377/9.82, allocations: 0.9363 MB / 4.265 GB, free: 144.8 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) * 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.004864/9.825, allocations: 2.422 MB / 4.267 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003579/9.829, allocations: 1.85 MB / 4.269 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/9.829, allocations: 0 / 4.269 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009721/9.83, allocations: 0.641 MB / 4.269 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/9.832, allocations: 426.4 kB / 4.27 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/9.837, allocations: 1.735 MB / 4.272 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009815/9.838, allocations: 1.187 MB / 4.273 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002415/9.84, allocations: 403.6 kB / 4.273 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/9.841, allocations: 90.38 kB / 4.273 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of SimCode: time 1.353e-06/9.841, allocations: 0 / 4.273 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.05587/9.896, allocations: 33.55 MB / 4.306 GB, free: 141.6 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)