Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.736/1.736, allocations: 287.5 MB / 302.6 MB, free: 8.254 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.0009284/0.0009284, allocations: 182.7 kB / 371.2 MB, free: 10.84 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.443/1.443, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008278/0.0008275, allocations: 99.8 kB / 0.7432 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004187/0.0004189, allocations: 11.98 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6556/0.8793, allocations: 192.5 MB / 1.167 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.9005, allocations: 12.47 MB / 1.179 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.9031, allocations: 53.72 kB / 1.179 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.9053, allocations: 0.5695 MB / 1.179 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006605/0.9119, allocations: 1.823 MB / 1.181 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009204/0.9211, allocations: 2.781 MB / 1.184 GB, free: 296 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006621/0.9278, allocations: 4.028 MB / 1.188 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.93, allocations: 1.095 MB / 1.189 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.9346, allocations: 1.555 MB / 1.19 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.9367, allocations: 1.047 MB / 1.191 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.9369, allocations: 62.5 kB / 1.192 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/0.9422, allocations: 2.354 MB / 1.194 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005145/0.9427, allocations: 369.9 kB / 1.194 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006458/0.9434, allocations: 350.8 kB / 1.195 GB, free: 9.992 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.9474, allocations: 2.385 MB / 1.197 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9474, allocations: 0 / 1.197 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9474, allocations: 0 / 1.197 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.156e-05/0.9475, allocations: 2.938 kB / 1.197 GB, free: 8.453 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.004528/0.952, allocations: 2.064 MB / 1.199 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.9521, allocations: 10.94 kB / 1.199 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.9548, allocations: 0.5854 MB / 1.199 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.9573, allocations: 1.264 MB / 1.201 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006273/0.958, allocations: 215.2 kB / 1.201 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.9582, allocations: 113.1 kB / 1.201 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.961, allocations: 1.373 MB / 1.202 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.9611, allocations: 3.938 kB / 1.202 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.9612, allocations: 50.36 kB / 1.202 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/0.9613, allocations: 37.56 kB / 1.202 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/0.9647, allocations: 1.387 MB / 1.204 GB, free: 4.012 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.009496/0.9742, allocations: 5.332 MB / 1.209 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.977, allocations: 1.194 MB / 1.21 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.9783, allocations: 0.5615 MB / 1.211 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/0.9794, allocations: 0.7824 MB / 1.211 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001467/0.9809, allocations: 0.6329 MB / 1.212 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.947e-06/0.9809, allocations: 0 / 1.212 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004572/0.9855, allocations: 1.671 MB / 1.214 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/0.9856, allocations: 137.2 kB / 1.214 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001834/0.9874, allocations: 1.339 MB / 1.215 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.9876, allocations: 53.7 kB / 1.215 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.9882, allocations: 0.6506 MB / 1.216 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.9885, allocations: 283.9 kB / 1.216 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/0.9886, allocations: 20 kB / 1.216 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.9888, allocations: 345.9 kB / 1.216 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.9901, allocations: 0.5413 MB / 1.217 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.9917, allocations: 0.8356 MB / 1.218 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.9944, allocations: 1.253 MB / 1.219 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.9944, allocations: 3.938 kB / 1.219 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003727/0.9982, allocations: 1.559 MB / 1.221 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.9984, allocations: 263 kB / 1.221 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.9984, allocations: 11.94 kB / 1.221 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.9985, allocations: 12 kB / 1.221 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1, allocations: 355.4 kB / 1.221 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007899/1.001, allocations: 1.195 MB / 1.222 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.003, allocations: 242.7 kB / 1.223 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.003, allocations: 55.97 kB / 1.223 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.003, allocations: 4 kB / 1.223 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003377/1.006, allocations: 1.399 MB / 1.224 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/1.006, allocations: 4 kB / 1.224 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.006, allocations: 15.94 kB / 1.224 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.008, allocations: 315.8 kB / 1.224 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.047e-05/1.008, allocations: 15.94 kB / 1.224 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.01, allocations: 227.5 kB / 1.225 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/1.01, allocations: 55.97 kB / 1.225 GB, free: 15.02 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.001071/1.011, allocations: 420.8 kB / 1.225 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/1.011, allocations: 154 kB / 1.225 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.015, allocations: 1.379 MB / 1.227 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.015, allocations: 8 kB / 1.227 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.015, allocations: 3.938 kB / 1.227 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.015, allocations: 7.984 kB / 1.227 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/1.021, allocations: 2.898 MB / 1.229 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.021, allocations: 0 / 1.229 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.022, allocations: 240.2 kB / 1.23 GB, free: 9.809 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/1.022, allocations: 8 kB / 1.23 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/1.022, allocations: 35.91 kB / 1.23 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007283/1.023, allocations: 1.195 MB / 1.231 GB, free: 8.523 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.023, allocations: 4 kB / 1.231 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/1.028, allocations: 2.136 MB / 1.233 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009103/1.029, allocations: 374.6 kB / 1.233 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003808/1.029, allocations: 20 kB / 1.233 GB, free: 5.914 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/1.031, allocations: 131.9 kB / 1.233 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/1.031, allocations: 72.44 kB / 1.233 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.031, allocations: 43.97 kB / 1.233 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00178/1.033, allocations: 0.8869 MB / 1.234 GB, free: 4.789 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/1.033, allocations: 4 kB / 1.234 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003159/1.036, allocations: 0.8308 MB / 1.235 GB, free: 3.953 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.001577/1.038, allocations: 0.5076 MB / 1.236 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005993/1.044, allocations: 2.221 MB / 1.238 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.044, allocations: 4 kB / 1.238 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/1.046, allocations: 0.6569 MB / 1.238 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/1.051, allocations: 0.7108 MB / 1.239 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006545/1.057, allocations: 3.269 MB / 1.242 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.059, allocations: 1.239 MB / 1.244 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002304/1.061, allocations: 414.2 kB / 1.244 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004557/1.061, allocations: 131.4 kB / 1.244 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/1.061, allocations: 0 / 1.244 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.05095/1.112, allocations: 29.81 MB / 1.273 GB, free: 13.15 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)