Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.721/1.721, allocations: 288.4 MB / 303.7 MB, free: 8.133 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.001742/0.001742, allocations: 188.9 kB / 372.3 MB, free: 10.11 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.468/1.468, allocations: 205.4 MB / 0.631 GB, free: 9.852 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007447/0.0007446, allocations: 110.2 kB / 0.7444 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 13.34 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2199, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6963/0.9163, allocations: 192.5 MB / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.9373, allocations: 12.46 MB / 1.18 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.9402, allocations: 53.25 kB / 1.18 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.9429, allocations: 0.6168 MB / 1.181 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00792/0.9509, allocations: 2.045 MB / 1.183 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01073/0.9616, allocations: 2.826 MB / 1.186 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.9681, allocations: 4.046 MB / 1.19 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002678/0.9708, allocations: 1.102 MB / 1.191 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005024/0.9758, allocations: 1.657 MB / 1.192 GB, free: 11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/0.9788, allocations: 1.047 MB / 1.193 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006657/0.9795, allocations: 63.41 kB / 1.193 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007428/0.9869, allocations: 3.2 MB / 1.197 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009486/0.9879, allocations: 364 kB / 1.197 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.9901, allocations: 0.7906 MB / 1.198 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.9952, allocations: 2.478 MB / 1.2 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.9952, allocations: 0 / 1.2 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.317e-06/0.9952, allocations: 0 / 1.2 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001149/0.9953, allocations: 3.312 kB / 1.2 GB, free: 6.277 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006004/1.001, allocations: 2.072 MB / 1.202 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.001, allocations: 10.81 kB / 1.202 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/1.005, allocations: 0.5713 MB / 1.203 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/1.008, allocations: 1.266 MB / 1.204 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006762/1.009, allocations: 224.4 kB / 1.204 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004223/1.009, allocations: 112.7 kB / 1.204 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/1.012, allocations: 1.368 MB / 1.206 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/1.012, allocations: 3.938 kB / 1.206 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.013, allocations: 43 kB / 1.206 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/1.013, allocations: 37.5 kB / 1.206 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/1.016, allocations: 1.383 MB / 1.207 GB, free: 1.844 MB / 0.7292 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.01031/1.026, allocations: 5.341 MB / 1.212 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/1.029, allocations: 1.184 MB / 1.213 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/1.031, allocations: 0.5704 MB / 1.214 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.032, allocations: 0.7786 MB / 1.215 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/1.033, allocations: 0.6367 MB / 1.215 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.967e-06/1.033, allocations: 0 / 1.215 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004711/1.038, allocations: 1.671 MB / 1.217 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/1.038, allocations: 137.2 kB / 1.217 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002347/1.041, allocations: 1.339 MB / 1.218 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/1.041, allocations: 45.7 kB / 1.218 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/1.042, allocations: 0.6585 MB / 1.219 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/1.042, allocations: 279.8 kB / 1.219 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/1.042, allocations: 24 kB / 1.219 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.042, allocations: 345.9 kB / 1.22 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/1.044, allocations: 0.5374 MB / 1.22 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/1.045, allocations: 0.8356 MB / 1.221 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002868/1.048, allocations: 1.257 MB / 1.222 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.048, allocations: 0 / 1.222 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003836/1.052, allocations: 1.555 MB / 1.224 GB, free: 212 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/1.052, allocations: 270.8 kB / 1.224 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.052, allocations: 4 kB / 1.224 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/1.052, allocations: 12 kB / 1.224 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.054, allocations: 355.5 kB / 1.224 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/1.055, allocations: 1.195 MB / 1.226 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.057, allocations: 238.5 kB / 1.226 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.057, allocations: 59.97 kB / 1.226 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.057, allocations: 4 kB / 1.226 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003339/1.061, allocations: 1.399 MB / 1.227 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.061, allocations: 8.188 kB / 1.227 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.061, allocations: 12.09 kB / 1.227 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.062, allocations: 319.5 kB / 1.228 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/1.062, allocations: 8 kB / 1.228 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.064, allocations: 232.3 kB / 1.228 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/1.064, allocations: 55.97 kB / 1.228 GB, free: 11.94 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009188/1.065, allocations: 426.2 kB / 1.228 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/1.066, allocations: 158 kB / 1.228 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/1.069, allocations: 1.374 MB / 1.23 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/1.069, allocations: 11.94 kB / 1.23 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.069, allocations: 11.88 kB / 1.23 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.069, allocations: 3.984 kB / 1.23 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/1.076, allocations: 2.894 MB / 1.233 GB, free: 6.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.076, allocations: 4.469 kB / 1.233 GB, free: 6.945 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.077, allocations: 243.6 kB / 1.233 GB, free: 6.707 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/1.077, allocations: 8 kB / 1.233 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.613e-05/1.077, allocations: 31.97 kB / 1.233 GB, free: 6.668 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006364/1.078, allocations: 1.191 MB / 1.234 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/1.078, allocations: 4 kB / 1.234 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/1.083, allocations: 2.136 MB / 1.236 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/1.084, allocations: 374.6 kB / 1.236 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/1.084, allocations: 20 kB / 1.236 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.086, allocations: 135.9 kB / 1.237 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.086, allocations: 72.5 kB / 1.237 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/1.086, allocations: 43.97 kB / 1.237 GB, free: 2.574 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001757/1.088, allocations: 0.8907 MB / 1.238 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/1.088, allocations: 0 / 1.238 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003118/1.091, allocations: 0.8191 MB / 1.238 GB, free: 0.8672 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/1.093, allocations: 0.5108 MB / 1.239 GB, free: 364 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005734/1.098, allocations: 2.221 MB / 1.241 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.098, allocations: 0 / 1.241 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/1.1, allocations: 0.6649 MB / 1.242 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004904/1.105, allocations: 0.7045 MB / 1.242 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00649/1.112, allocations: 3.284 MB / 1.246 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.113, allocations: 1.239 MB / 1.247 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002434/1.115, allocations: 416.2 kB / 1.247 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/1.116, allocations: 123.4 kB / 1.247 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/1.116, allocations: 0 / 1.247 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of Templates: time 0.05261/1.168, allocations: 30.23 MB / 1.277 GB, free: 9.594 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)