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.832/1.832, allocations: 288.3 MB / 303.2 MB, free: 8.137 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.001116/0.001116, allocations: 191.5 kB / 371.9 MB, free: 10.27 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.538/1.538, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008621/0.0008621, allocations: 90.92 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004151, allocations: 15.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2685, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.7168/0.9854, allocations: 175.9 MB / 1.151 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02196/1.007, allocations: 12.22 MB / 1.163 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/1.011, allocations: 51.44 kB / 1.163 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0034/1.014, allocations: 0.7588 MB / 1.164 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009394/1.023, allocations: 2.198 MB / 1.166 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/1.034, allocations: 2.859 MB / 1.169 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006321/1.04, allocations: 2.214 MB / 1.171 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0024/1.043, allocations: 1.017 MB / 1.172 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/1.047, allocations: 1.484 MB / 1.173 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/1.05, allocations: 0.8109 MB / 1.174 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000373/1.05, allocations: 64.19 kB / 1.174 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006394/1.057, allocations: 2.094 MB / 1.176 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008313/1.057, allocations: 350.2 kB / 1.177 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.059, allocations: 349.9 kB / 1.177 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/1.064, allocations: 2.273 MB / 1.179 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/1.064, allocations: 0 / 1.179 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/1.064, allocations: 0 / 1.179 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.29e-05/1.064, allocations: 0 / 1.179 GB, free: 4.383 MB / 0.7136 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.005166/1.069, allocations: 2.054 MB / 1.181 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.069, allocations: 11.28 kB / 1.181 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/1.072, allocations: 0.5984 MB / 1.182 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/1.075, allocations: 1.177 MB / 1.183 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006828/1.075, allocations: 222.7 kB / 1.183 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/1.075, allocations: 113.8 kB / 1.183 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/1.078, allocations: 1.367 MB / 1.185 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/1.078, allocations: 0 / 1.185 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.078, allocations: 42.31 kB / 1.185 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/1.078, allocations: 42.45 kB / 1.185 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/1.082, allocations: 1.386 MB / 1.186 GB, free: 20 kB / 0.7136 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.009615/1.091, allocations: 5.36 MB / 1.191 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/1.094, allocations: 1.184 MB / 1.192 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/1.095, allocations: 0.5981 MB / 1.193 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/1.097, allocations: 0.6409 MB / 1.194 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 3.828e-06/1.097, allocations: 4 kB / 1.194 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.004929/1.102, allocations: 1.666 MB / 1.195 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/1.102, allocations: 137.3 kB / 1.195 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.104, allocations: 1.341 MB / 1.197 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002349/1.104, allocations: 45.14 kB / 1.197 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/1.105, allocations: 0.656 MB / 1.197 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/1.105, allocations: 286 kB / 1.198 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/1.105, allocations: 20.41 kB / 1.198 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.105, allocations: 348.2 kB / 1.198 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/1.107, allocations: 0.54 MB / 1.199 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/1.108, allocations: 0.8286 MB / 1.199 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.11, allocations: 0.6256 MB / 1.2 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.11, allocations: 0 / 1.2 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004009/1.114, allocations: 1.552 MB / 1.201 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009035/1.115, allocations: 1.999 MB / 1.203 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.115, allocations: 15.98 kB / 1.203 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/1.115, allocations: 12 kB / 1.203 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/1.117, allocations: 355.5 kB / 1.204 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008249/1.118, allocations: 1.195 MB / 1.205 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.12, allocations: 243.7 kB / 1.205 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.12, allocations: 55.92 kB / 1.205 GB, free: 216 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.12, allocations: 4 kB / 1.205 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003612/1.124, allocations: 1.403 MB / 1.207 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.124, allocations: 7.984 kB / 1.207 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.124, allocations: 12 kB / 1.207 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.125, allocations: 323.7 kB / 1.207 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.125, allocations: 8 kB / 1.207 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/1.127, allocations: 224.6 kB / 1.207 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.127, allocations: 51.97 kB / 1.207 GB, free: 14.19 MB / 0.7448 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.0009693/1.128, allocations: 419.5 kB / 1.208 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005851/1.129, allocations: 162 kB / 1.208 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/1.133, allocations: 1.382 MB / 1.209 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/1.133, allocations: 12 kB / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.133, allocations: 0 / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/1.133, allocations: 3.984 kB / 1.209 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006968/1.14, allocations: 2.914 MB / 1.212 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.14, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.141, allocations: 252.1 kB / 1.212 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.649e-05/1.141, allocations: 11.95 kB / 1.212 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.141, allocations: 27.98 kB / 1.212 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008149/1.142, allocations: 1.192 MB / 1.213 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/1.142, allocations: 11.89 kB / 1.213 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/1.147, allocations: 2.348 MB / 1.216 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/1.149, allocations: 374.8 kB / 1.216 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/1.149, allocations: 31.92 kB / 1.216 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.151, allocations: 135.7 kB / 1.216 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.151, allocations: 76.45 kB / 1.216 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.151, allocations: 39.97 kB / 1.216 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001953/1.153, allocations: 0.8947 MB / 1.217 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 0 / 1.217 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003577/1.157, allocations: 0.827 MB / 1.218 GB, free: 2.754 MB / 0.7448 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.001739/1.158, allocations: 0.5035 MB / 1.219 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006154/1.165, allocations: 2.225 MB / 1.221 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.165, allocations: 0 / 1.221 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.166, allocations: 0.6688 MB / 1.221 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.171, allocations: 0.6911 MB / 1.222 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007625/1.179, allocations: 3.262 MB / 1.225 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/1.18, allocations: 1.266 MB / 1.226 GB, free: 10 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002548/1.183, allocations: 420.2 kB / 1.227 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.183, allocations: 127.4 kB / 1.227 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of SimCode: time 1.222e-06/1.183, allocations: 0 / 1.227 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of Templates: time 0.05633/1.239, allocations: 29.88 MB / 1.256 GB, free: 11.82 MB / 0.7917 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)