Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001269/0.001268, allocations: 180.9 kB / 366.7 MB, free: 1.684 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.697/1.697, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008431/0.0008431, allocations: 89.81 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.075e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7521, allocations: 116.3 MB / 0.9732 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.665/6.417, allocations: 2.358 GB / 3.332 GB, free: 80.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/6.417, allocations: 91.3 kB / 3.332 GB, free: 80.25 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.556/9.973, allocations: 0.9384 GB / 4.27 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.655e-06/9.973, allocations: 0 / 4.27 GB, free: 155.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003002/9.973, allocations: 57.62 kB / 4.27 GB, free: 155.7 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007516/9.981, allocations: 2.106 MB / 4.272 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/9.981, allocations: 7.094 kB / 4.272 GB, free: 154.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/9.985, allocations: 0.5538 MB / 4.273 GB, free: 154.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/9.989, allocations: 1.397 MB / 4.274 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006554/9.99, allocations: 171.5 kB / 4.274 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/9.99, allocations: 69.72 kB / 4.274 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002334/9.993, allocations: 0.9608 MB / 4.275 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/9.995, allocations: 1.082 MB / 4.276 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/9.995, allocations: 3.75 kB / 4.276 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/9.995, allocations: 5.156 kB / 4.276 GB, free: 154.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/9.996, allocations: 46.64 kB / 4.276 GB, free: 154.1 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.01058/10.01, allocations: 5.28 MB / 4.282 GB, free: 152 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/10.01, allocations: 0.7416 MB / 4.282 GB, free: 152 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/10.01, allocations: 392.7 kB / 4.283 GB, free: 152 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008736/10.01, allocations: 0.7644 MB / 4.283 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007419/10.01, allocations: 483.3 kB / 4.284 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 3.427e-06/10.01, allocations: 0 / 4.284 GB, free: 151.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.002484/10.01, allocations: 0.9594 MB / 4.285 GB, free: 151 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/10.01, allocations: 196.2 kB / 4.285 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/10.01, allocations: 0.9118 MB / 4.286 GB, free: 150.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/10.01, allocations: 29.45 kB / 4.286 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/10.01, allocations: 0.6563 MB / 4.287 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/10.01, allocations: 269 kB / 4.287 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/10.01, allocations: 0 / 4.287 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/10.02, allocations: 352.4 kB / 4.287 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/10.02, allocations: 384.3 kB / 4.288 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/10.02, allocations: 0.7103 MB / 4.288 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/10.02, allocations: 0.5179 MB / 4.289 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/10.02, allocations: 3.375 kB / 4.289 GB, free: 149.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002574/10.02, allocations: 1.235 MB / 4.29 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005512/10.02, allocations: 2.066 MB / 4.292 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/10.02, allocations: 10.78 kB / 4.292 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/10.02, allocations: 10.88 kB / 4.292 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/10.02, allocations: 350.4 kB / 4.292 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005745/10.02, allocations: 1.213 MB / 4.294 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/10.03, allocations: 197.7 kB / 4.294 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/10.03, allocations: 57.47 kB / 4.294 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/10.03, allocations: 3.844 kB / 4.294 GB, free: 146.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002105/10.03, allocations: 1.061 MB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/10.03, allocations: 7.781 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/10.03, allocations: 7.094 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/10.03, allocations: 330 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/10.03, allocations: 13.31 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/10.03, allocations: 187.5 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/10.03, allocations: 61.33 kB / 4.295 GB, free: 146 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * 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.0003552/10.03, allocations: 135.1 kB / 4.296 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/10.03, allocations: 145.7 kB / 4.296 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/10.03, allocations: 1.093 MB / 4.297 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/10.03, allocations: 11.31 kB / 4.297 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/10.03, allocations: 2.859 kB / 4.297 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/10.03, allocations: 3.047 kB / 4.297 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/10.04, allocations: 2.512 MB / 4.299 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/10.04, allocations: 0 / 4.299 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/10.04, allocations: 253.7 kB / 4.299 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/10.04, allocations: 7.562 kB / 4.299 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.328e-05/10.04, allocations: 21.59 kB / 4.3 GB, free: 145.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004174/10.04, allocations: 1.19 MB / 4.301 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/10.04, allocations: 7.469 kB / 4.301 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/10.04, allocations: 1.919 MB / 4.303 GB, free: 143.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/10.04, allocations: 359 kB / 4.303 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/10.04, allocations: 7.875 kB / 4.303 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/10.05, allocations: 127.2 kB / 4.303 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/10.05, allocations: 72.86 kB / 4.303 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/10.05, allocations: 42.58 kB / 4.303 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001173/10.05, allocations: 0.6741 MB / 4.304 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.31e-07/10.05, allocations: 0 / 4.304 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003994/10.05, allocations: 0.9832 MB / 4.305 GB, free: 143 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.004231/10.06, allocations: 2.327 MB / 4.307 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003141/10.06, allocations: 1.772 MB / 4.309 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/10.06, allocations: 0 / 4.309 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008227/10.06, allocations: 0.5084 MB / 4.309 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/10.06, allocations: 0.5202 MB / 4.31 GB, free: 142.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004378/10.07, allocations: 1.984 MB / 4.312 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/10.07, allocations: 1.276 MB / 4.313 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002414/10.07, allocations: 462.8 kB / 4.313 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/10.07, allocations: 101.9 kB / 4.313 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of SimCode: time 9.52e-07/10.07, allocations: 0 / 4.313 GB, free: 140.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.06035/10.13, allocations: 36.5 MB / 4.349 GB, free: 138.1 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)